{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse/output.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}17 Mar 2017, 16:06:49
{txt}
{com}. *use "XXX/SBIR project level data.dta"
. *global dir "XXX/*Adjust Accordingly*"
. 
. ********************************************************************************
. ** Primary Variables -- labels
. ********************************************************************************
. *lab var d2 "Post-period"
. *lab var d1 "Pre-period"
. *label variable dT "Treated state"
. *lab var d2_dT "Policy Effect"
. lab var phase2 "Binary: Phase II award"
{txt}
{com}. lab var p1prior_capacity "Phase I prior capacity, count"
{txt}
{com}. lab var p1year "Year firm secured SBIR Phase I award"
{txt}
{com}. lab var p2year "Year firm secured SBIR Phase II award"
{txt}
{com}. lab var smp1year "Year firm secured State Match award"
{txt}
{com}. lab var WomanOwn_dum "Binary: Woman owned"
{txt}
{com}. lab var HUB_dum "Binary: HUB Zone firm"
{txt}
{com}. lab var Minority_dum "Binary: Minority owned"
{txt}
{com}. lab var p1cbsa_capacity_annual "Spillover: SBIR Phase I activity"
{txt}
{com}. lab var yr_est_full "Year Established"
{txt}
{com}. lab var Emp_p1year "Employment level, annual"
{txt}
{com}. lab var agency "SBIR mission agency"
{txt}
{com}. lab var smp1amt_pd_10k "State Match Amount, defalted ($10,000)"
{txt}
{com}. lab var statecode "AR (4); KY (18); MO (26); NC (34); SC (41); VA (47)"
{txt}
{com}. lab var firm_id "Unique Firm ID, de-identified"
{txt}
{com}. lab var ind_naics_1 "Scientific R&D services (5417*)"
{txt}
{com}. lab var ind_naics_2 "Architectural & engineering services (5413*)"
{txt}
{com}. lab var ind_naics_3 "Computer system services (5414*)"
{txt}
{com}. lab var ind_naics_4 "Other services (541* not 5417, 5413, 5414)"
{txt}
{com}. lab var ind_naics_5 "Metal related manufacturing (33*)"
{txt}
{com}. lab var ind_naics_6 "non-metal related manufacturing (31*, 32*)"
{txt}
{com}. lab var ind_naics_7 "other (not 31-33; 54)"
{txt}
{com}. lab var state "state"
{txt}
{com}. lab var OutofBis_NETS "Out of business, NETS"
{txt}
{com}. lab var NETS_match "Matched firm to NETS data"
{txt}
{com}. lab var DunNum_match "Matched firm to DUNS data"
{txt}
{com}. lab var agency_group_id "SBIR mission agency"
{txt}
{com}. lab var LastMove_NETS "Last move, NETS"
{txt}
{com}. lab var MoveYear_NETS "Year move, NTES"
{txt}
{com}. foreach var in MoveYear_move_yr2 MoveYear_move_yr3 MoveYear_move_yr4 {c -(}
{txt}  2{com}. lab var `var' "Move Year (nth time)"
{txt}  3{com}. {c )-}
{txt}
{com}. lab var State_NETS "State, NETS"
{txt}
{com}. lab var state_uc "State, vet"
{txt}
{com}. lab var OriginState_NETS "State origin, NETS"
{txt}
{com}. lab var tot_HE_RD_exp_pd_cbsa_ln "Total Higher Education R&D, deflated in log form (state level)"
{txt}
{com}. lab var VCamt_C_level_RP_paper2_pd_ln "Venture Capital Financing, deflated in log form (state level) PWC"
{txt}
{com}. lab var log_applied_RD_deflated "Federal R&D, applied - deflated in log form (state level)"
{txt}
{com}. lab var cohort "NC-VA-SC == 0; KY-AR-MO == 1"
{txt}
{com}. lab var emp1_impute "Employment levels, imputed by means"
{txt}
{com}. lab var dod "Funded by DOD"
{txt}
{com}. lab var nsf "Funded by NSF"
{txt}
{com}. lab var hhs "Funded by HHS"
{txt}
{com}. lab var year "Year of Phase I"
{txt}
{com}. lab var smp1 "Binary: State Match Award"
{txt}
{com}. *lab var emp_change_dum "Binary: Any employment change"
. 
. ********************************************************************************
. ***                                             Primary Results for Manuscript                                           ***
. ********************************************************************************
. 
. ********************************************************************************
. ** Table 1: Descriptive statistics (2002 - 2010)
. {c -(}
. preserve 
. drop if p1year == 2006
{txt}(245 observations deleted)
{com}. gen d2 = 1 if p1year > 2006
{txt}(1,030 missing values generated)
{com}. recode d2 (.=0)
{txt}(d2: 1030 changes made)
{com}. label var d2 "Post-period"
. gen d1 = 1 if p1year < 2006
{txt}(1,147 missing values generated)
{com}. recode d1 (.=0)
{txt}(d1: 1147 changes made)
{com}. lab var d1 "Pre-period"
. gen dT = 1 if state=="nc"|state=="ky"
{txt}(1,488 missing values generated)
{com}. recode dT (.=0)
{txt}(dT: 1488 changes made)
{com}. label variable dT "Treated state"
. gen d2_dT = d2*dT
. lab var d2_dT "Policy Effect"
. drop if p1year < 2002
{txt}(0 observations deleted)
{com}. sum phase2

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}      2,177    .4598071    .4984964          0          1
{com}. sum phase2 if d1 == 1

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}      1,030    .4796117    .4998268          0          1
{com}. sum phase2 if d2 == 1

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}      1,147    .4420227    .4968439          0          1
{com}. sum smp1amt_pd_10k

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
smp1amt_~10k {c |}{res}        183    7.325599    2.351876   2.636436   13.45859
{com}. global variables WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year  
. sum $variables

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
WomanOwn_dum {c |}{res}      2,177    .0679835    .2517754          0          1
{txt}{space 5}HUB_dum {c |}{res}      2,177    .0234267    .1512892          0          1
{txt}Minority_dum {c |}{res}      2,177    .0399633    .1959179          0          1
{txt}p1cbsa_cap~l {c |}{res}      2,177    20.55719     11.8751          0         44
{txt}{space 1}yr_est_full {c |}{res}      2,110    1996.466      9.4693       1817       2011
{txt}{hline 13}{c +}{hline 57}
{space 2}Emp_p1year {c |}{res}      1,832    22.26419    31.28127          1        400
{com}. restore
. {c )-}
{txt}
{com}. 
. ********************************************************************************
. ** TABLE 2: Differential Model -- Analysis for significant results      
. {c -(}
.         * DD model: phase2 = B0+d2+dT+d2*dT + CONTROLS 
.         ** d2: post-policy time period change
.         ** dT: treatment group, state that ever had the policy
.         ** d2_dT: change in Phase II success rates due to the policy
. preserve 
. drop if p1year == 2006
{txt}(245 observations deleted)
{com}. gen d2 = 1 if p1year > 2006
{txt}(1,030 missing values generated)
{com}. recode d2 (.=0)
{txt}(d2: 1030 changes made)
{com}. label var d2 "Post-period"
. gen dT = 1 if state=="nc"|state=="ky"
{txt}(1,488 missing values generated)
{com}. recode dT (.=0)
{txt}(dT: 1488 changes made)
{com}. label variable dT "Treated state"
. gen d2_dT = d2*dT
. lab var d2_dT "Policy Effect"
. global ddcontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year
. global y phase2
. drop if p1year < 2002
{txt}(0 observations deleted)
{com}.         ** Table 2: Column 1
.         reg $y d2 dT d2_dT $ddcontrol if agency == "nsf", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       162
                                                {txt}F(9, 98)          =  {res}    36.17
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.0978
                                                {txt}Root MSE          =    {res} .47802

{txt}{ralign 88:(Std. Err. adjusted for {res:99} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2911378{col 36}{space 2} .0741077{col 47}{space 1}   -3.93{col 56}{space 3}0.000{col 64}{space 4}-.4382021{col 77}{space 3}-.1440736
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.1369769{col 36}{space 2} .1246681{col 47}{space 1}   -1.10{col 56}{space 3}0.275{col 64}{space 4}-.3843768{col 77}{space 3} .1104229
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2939321{col 36}{space 2} .1523126{col 47}{space 1}    1.93{col 56}{space 3}0.057{col 64}{space 4}-.0083273{col 77}{space 3} .5961916
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}  .016625{col 36}{space 2} .1159082{col 47}{space 1}    0.14{col 56}{space 3}0.886{col 64}{space 4}-.2133912{col 77}{space 3} .2466411
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .0788459{col 36}{space 2} .2424224{col 47}{space 1}    0.33{col 56}{space 3}0.746{col 64}{space 4}-.4022335{col 77}{space 3} .5599253
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .6200556{col 36}{space 2} .0831011{col 47}{space 1}    7.46{col 56}{space 3}0.000{col 64}{space 4} .4551442{col 77}{space 3}  .784967
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0055517{col 36}{space 2}  .002962{col 47}{space 1}    1.87{col 56}{space 3}0.064{col 64}{space 4}-.0003262{col 77}{space 3} .0114296
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2} .0081001{col 36}{space 2}  .006833{col 47}{space 1}    1.19{col 56}{space 3}0.239{col 64}{space 4}-.0054596{col 77}{space 3} .0216599
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0002238{col 36}{space 2} .0017112{col 47}{space 1}   -0.13{col 56}{space 3}0.896{col 64}{space 4}-.0036197{col 77}{space 3} .0031721
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-15.75615{col 36}{space 2} 13.66196{col 47}{space 1}   -1.15{col 56}{space 3}0.252{col 64}{space 4}-42.86787{col 77}{space 3} 11.35557
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) replace addtext(Sample, NSF*) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}. 
.         ** Table 2: Column 2
.         drop if p1prior_capacity > 5
{txt}(887 observations deleted)
{com}.         reg $y d2 dT d2_dT $ddcontrol if agency == "hhs", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       311
                                                {txt}F(9, 170)         =  {res}     2.22
                                                {txt}Prob > F          = {res}    0.0227
                                                {txt}R-squared         = {res}    0.0479
                                                {txt}Root MSE          =    {res} .49404

{txt}{ralign 88:(Std. Err. adjusted for {res:171} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2752937{col 36}{space 2} .0831487{col 47}{space 1}   -3.31{col 56}{space 3}0.001{col 64}{space 4}-.4394307{col 77}{space 3}-.1111567
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0999056{col 36}{space 2} .0806075{col 47}{space 1}   -1.24{col 56}{space 3}0.217{col 64}{space 4}-.2590262{col 77}{space 3}  .059215
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2482992{col 36}{space 2} .1124787{col 47}{space 1}    2.21{col 56}{space 3}0.029{col 64}{space 4} .0262643{col 77}{space 3} .4703341
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .0173021{col 36}{space 2} .0835701{col 47}{space 1}    0.21{col 56}{space 3}0.836{col 64}{space 4}-.1476668{col 77}{space 3} .1822709
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .2085689{col 36}{space 2} .1451979{col 47}{space 1}    1.44{col 56}{space 3}0.153{col 64}{space 4}-.0780542{col 77}{space 3} .4951919
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .0992541{col 36}{space 2} .1137781{col 47}{space 1}    0.87{col 56}{space 3}0.384{col 64}{space 4}-.1253457{col 77}{space 3}  .323854
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0013858{col 36}{space 2} .0025355{col 47}{space 1}    0.55{col 56}{space 3}0.585{col 64}{space 4}-.0036192{col 77}{space 3} .0063908
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0021184{col 36}{space 2} .0034433{col 47}{space 1}   -0.62{col 56}{space 3}0.539{col 64}{space 4}-.0089155{col 77}{space 3} .0046786
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0007908{col 36}{space 2} .0006027{col 47}{space 1}   -1.31{col 56}{space 3}0.191{col 64}{space 4}-.0019806{col 77}{space 3}  .000399
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 4.786842{col 36}{space 2} 6.878134{col 47}{space 1}    0.70{col 56}{space 3}0.487{col 64}{space 4}-8.790709{col 77}{space 3} 18.36439
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}. 
.         ** Table 2: Column 3
.         drop if p1prior_capacity > 3
{txt}(172 observations deleted)
{com}.         reg $y d2 dT d2_dT $ddcontrol if agency == "hhs", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       263
                                                {txt}F(9, 161)         =  {res}     1.84
                                                {txt}Prob > F          = {res}    0.0655
                                                {txt}R-squared         = {res}    0.0470
                                                {txt}Root MSE          =    {res} .49705

{txt}{ralign 88:(Std. Err. adjusted for {res:162} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2795221{col 36}{space 2} .0970891{col 47}{space 1}   -2.88{col 56}{space 3}0.005{col 64}{space 4}-.4712545{col 77}{space 3}-.0877897
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.1122269{col 36}{space 2} .0929946{col 47}{space 1}   -1.21{col 56}{space 3}0.229{col 64}{space 4}-.2958734{col 77}{space 3} .0714196
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2473199{col 36}{space 2} .1280469{col 47}{space 1}    1.93{col 56}{space 3}0.055{col 64}{space 4}-.0055481{col 77}{space 3} .5001879
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0172661{col 36}{space 2} .1031236{col 47}{space 1}   -0.17{col 56}{space 3}0.867{col 64}{space 4}-.2209154{col 77}{space 3} .1863833
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .1849171{col 36}{space 2} .1534537{col 47}{space 1}    1.21{col 56}{space 3}0.230{col 64}{space 4}-.1181245{col 77}{space 3} .4879588
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .1274094{col 36}{space 2} .1121655{col 47}{space 1}    1.14{col 56}{space 3}0.258{col 64}{space 4}-.0940959{col 77}{space 3} .3489147
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0014171{col 36}{space 2} .0027356{col 47}{space 1}    0.52{col 56}{space 3}0.605{col 64}{space 4}-.0039851{col 77}{space 3} .0068193
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}  -.00187{col 36}{space 2} .0035425{col 47}{space 1}   -0.53{col 56}{space 3}0.598{col 64}{space 4}-.0088658{col 77}{space 3} .0051258
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0007332{col 36}{space 2} .0005529{col 47}{space 1}   -1.33{col 56}{space 3}0.187{col 64}{space 4}-.0018251{col 77}{space 3} .0003587
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}  4.31722{col 36}{space 2} 7.069382{col 47}{space 1}    0.61{col 56}{space 3}0.542{col 64}{space 4}-9.643453{col 77}{space 3} 18.27789
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 3 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         
.         ** Table 2: Column 4
.         drop if p1prior_capacity > 1
{txt}(271 observations deleted)
{com}.         reg $y d2 dT d2_dT $ddcontrol if agency == "nsf", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}        88
                                                {txt}{help j_robustsingular:F(8, 73) }         =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1591
                                                {txt}Root MSE          =    {res} .47889

{txt}{ralign 88:(Std. Err. adjusted for {res:74} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.4879434{col 36}{space 2}  .161431{col 47}{space 1}   -3.02{col 56}{space 3}0.003{col 64}{space 4} -.809675{col 77}{space 3}-.1662119
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.2580179{col 36}{space 2} .1720336{col 47}{space 1}   -1.50{col 56}{space 3}0.138{col 64}{space 4}-.6008804{col 77}{space 3} .0848446
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2}  .536488{col 36}{space 2} .2231251{col 47}{space 1}    2.40{col 56}{space 3}0.019{col 64}{space 4} .0918002{col 77}{space 3} .9811758
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1768018{col 36}{space 2} .2034151{col 47}{space 1}   -0.87{col 56}{space 3}0.388{col 64}{space 4}-.5822075{col 77}{space 3} .2286039
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}-.0674328{col 36}{space 2} .2259843{col 47}{space 1}   -0.30{col 56}{space 3}0.766{col 64}{space 4}-.5178188{col 77}{space 3} .3829532
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .6906038{col 36}{space 2} .1746053{col 47}{space 1}    3.96{col 56}{space 3}0.000{col 64}{space 4}  .342616{col 77}{space 3} 1.038592
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0080154{col 36}{space 2}  .003795{col 47}{space 1}    2.11{col 56}{space 3}0.038{col 64}{space 4}  .000452{col 77}{space 3} .0155788
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2} .0186515{col 36}{space 2} .0155636{col 47}{space 1}    1.20{col 56}{space 3}0.235{col 64}{space 4}-.0123667{col 77}{space 3} .0496696
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2} .0010978{col 36}{space 2} .0038277{col 47}{space 1}    0.29{col 56}{space 3}0.775{col 64}{space 4}-.0065308{col 77}{space 3} .0087263
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-36.83079{col 36}{space 2} 31.13705{col 47}{space 1}   -1.18{col 56}{space 3}0.241{col 64}{space 4}-98.88685{col 77}{space 3} 25.22527
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF 1 Prior)
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}. restore
. {c )-}
{txt}
{com}. ********************************************************************************
. ** TABLE 3: Marginal Model -- Analysis for significant results
. {c -(}
. global y phase2
. global controls WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year
. global x c.smp1amt_pd_10k
. 
. preserve 
. set more off
.         ** Table 3: Column 1
.         reg $y $x $controls, cluster(firm_id)

{txt}Linear regression                               Number of obs     = {res}       182
                                                {txt}F(7, 133)         =  {res}     1.01
                                                {txt}Prob > F          = {res}    0.4305
                                                {txt}R-squared         = {res}    0.0177
                                                {txt}Root MSE          =    {res} .50485

{txt}{ralign 88:(Std. Err. adjusted for {res:134} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0163938{col 36}{space 2} .0159074{col 47}{space 1}    1.03{col 56}{space 3}0.305{col 64}{space 4}-.0150704{col 77}{space 3} .0478579
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0101074{col 36}{space 2}   .14219{col 47}{space 1}   -0.07{col 56}{space 3}0.943{col 64}{space 4}-.2913538{col 77}{space 3}  .271139
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .0768408{col 36}{space 2} .1776564{col 47}{space 1}    0.43{col 56}{space 3}0.666{col 64}{space 4}-.2745567{col 77}{space 3} .4282384
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.2948385{col 36}{space 2} .1282414{col 47}{space 1}   -2.30{col 56}{space 3}0.023{col 64}{space 4} -.548495{col 77}{space 3} -.041182
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0004807{col 36}{space 2} .0029307{col 47}{space 1}    0.16{col 56}{space 3}0.870{col 64}{space 4}-.0053162{col 77}{space 3} .0062776
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2} .0014155{col 36}{space 2} .0072216{col 47}{space 1}    0.20{col 56}{space 3}0.845{col 64}{space 4}-.0128686{col 77}{space 3} .0156996
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2} .0011217{col 36}{space 2} .0032824{col 47}{space 1}    0.34{col 56}{space 3}0.733{col 64}{space 4}-.0053707{col 77}{space 3} .0076141
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-2.504153{col 36}{space 2} 14.45671{col 47}{space 1}   -0.17{col 56}{space 3}0.863{col 64}{space 4}-31.09897{col 77}{space 3} 26.09067
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y $x $controls using "$dir/Results/marginal output.xls", se see label bdec(3) rdec(3) replace addtext(Sample, SMP)
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/marginal output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/marginal output.txt", label"':seeout}
{com}.         ** Table 3: Column 2
.         drop if p1prior_capacity > 9
{txt}(741 observations deleted)
{com}.         reg $y $x $controls, cluster(firm_id)

{txt}Linear regression                               Number of obs     = {res}       163
                                                {txt}F(7, 128)         =  {res}     1.93
                                                {txt}Prob > F          = {res}    0.0693
                                                {txt}R-squared         = {res}    0.0412
                                                {txt}Root MSE          =    {res} .50047

{txt}{ralign 88:(Std. Err. adjusted for {res:129} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0290536{col 36}{space 2} .0169268{col 47}{space 1}    1.72{col 56}{space 3}0.089{col 64}{space 4} -.004439{col 77}{space 3} .0625462
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1661119{col 36}{space 2} .1091224{col 47}{space 1}   -1.52{col 56}{space 3}0.130{col 64}{space 4}-.3820291{col 77}{space 3} .0498053
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .0834281{col 36}{space 2} .1757983{col 47}{space 1}    0.47{col 56}{space 3}0.636{col 64}{space 4} -.264419{col 77}{space 3} .4312751
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} -.330744{col 36}{space 2} .1153671{col 47}{space 1}   -2.87{col 56}{space 3}0.005{col 64}{space 4}-.5590174{col 77}{space 3}-.1024706
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0006499{col 36}{space 2} .0030462{col 47}{space 1}    0.21{col 56}{space 3}0.831{col 64}{space 4}-.0053774{col 77}{space 3} .0066773
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0025275{col 36}{space 2} .0086628{col 47}{space 1}   -0.29{col 56}{space 3}0.771{col 64}{space 4}-.0196683{col 77}{space 3} .0146133
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0001321{col 36}{space 2} .0034641{col 47}{space 1}   -0.04{col 56}{space 3}0.970{col 64}{space 4}-.0069865{col 77}{space 3} .0067223
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 5.331038{col 36}{space 2} 17.37755{col 47}{space 1}    0.31{col 56}{space 3}0.760{col 64}{space 4}-29.05341{col 77}{space 3} 39.71549
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y $x $controls using "$dir/Results/marginal output.xls", se see label bdec(3) rdec(3) append addtext(Sample, SMP Prior 9)
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/marginal output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/marginal output.txt", label"':seeout}
{com}.         ** Table 3: Column 3
.         drop if p1prior_capacity > 5
{txt}(238 observations deleted)
{com}.         reg $y $x $controls, cluster(firm_id)

{txt}Linear regression                               Number of obs     = {res}       152
                                                {txt}F(7, 123)         =  {res}     2.31
                                                {txt}Prob > F          = {res}    0.0299
                                                {txt}R-squared         = {res}    0.0550
                                                {txt}Root MSE          =    {res} .49781

{txt}{ralign 88:(Std. Err. adjusted for {res:124} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0377939{col 36}{space 2} .0177721{col 47}{space 1}    2.13{col 56}{space 3}0.035{col 64}{space 4} .0026151{col 77}{space 3} .0729728
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1657812{col 36}{space 2} .1099004{col 47}{space 1}   -1.51{col 56}{space 3}0.134{col 64}{space 4}-.3833223{col 77}{space 3} .0517598
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .1102892{col 36}{space 2} .1734423{col 47}{space 1}    0.64{col 56}{space 3}0.526{col 64}{space 4}-.2330293{col 77}{space 3} .4536077
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.3311223{col 36}{space 2} .1128055{col 47}{space 1}   -2.94{col 56}{space 3}0.004{col 64}{space 4}-.5544139{col 77}{space 3}-.1078306
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0009768{col 36}{space 2} .0031756{col 47}{space 1}    0.31{col 56}{space 3}0.759{col 64}{space 4}-.0053092{col 77}{space 3} .0072628
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0034936{col 36}{space 2}  .008918{col 47}{space 1}   -0.39{col 56}{space 3}0.696{col 64}{space 4}-.0211462{col 77}{space 3}  .014159
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2} -.000122{col 36}{space 2} .0035276{col 47}{space 1}   -0.03{col 56}{space 3}0.972{col 64}{space 4}-.0071048{col 77}{space 3} .0068607
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 7.194094{col 36}{space 2} 17.90054{col 47}{space 1}    0.40{col 56}{space 3}0.688{col 64}{space 4}-28.23892{col 77}{space 3} 42.62711
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y $x $controls using "$dir/Results/marginal output.xls", se see label bdec(3) rdec(3) append addtext(Sample, SMP Prior 5)
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/marginal output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/marginal output.txt", label"':seeout}
{com}.         ** Table 3: Column 4
.         drop if p1prior_capacity > 3
{txt}(194 observations deleted)
{com}.         reg $y $x $controls, cluster(firm_id)

{txt}Linear regression                               Number of obs     = {res}       136
                                                {txt}F(7, 117)         =  {res}     1.95
                                                {txt}Prob > F          = {res}    0.0674
                                                {txt}R-squared         = {res}    0.0583
                                                {txt}Root MSE          =    {res} .49749

{txt}{ralign 88:(Std. Err. adjusted for {res:118} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0315594{col 36}{space 2} .0187148{col 47}{space 1}    1.69{col 56}{space 3}0.094{col 64}{space 4}-.0055043{col 77}{space 3} .0686232
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} -.174678{col 36}{space 2} .1194615{col 47}{space 1}   -1.46{col 56}{space 3}0.146{col 64}{space 4}-.4112652{col 77}{space 3} .0619093
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .3658317{col 36}{space 2} .2234926{col 47}{space 1}    1.64{col 56}{space 3}0.104{col 64}{space 4}-.0767837{col 77}{space 3}  .808447
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.2651905{col 36}{space 2} .1306836{col 47}{space 1}   -2.03{col 56}{space 3}0.045{col 64}{space 4}-.5240025{col 77}{space 3}-.0063785
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0014457{col 36}{space 2} .0034024{col 47}{space 1}    0.42{col 56}{space 3}0.672{col 64}{space 4}-.0052926{col 77}{space 3} .0081839
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0031667{col 36}{space 2} .0093849{col 47}{space 1}   -0.34{col 56}{space 3}0.736{col 64}{space 4} -.021753{col 77}{space 3} .0154196
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2} .0022235{col 36}{space 2} .0034621{col 47}{space 1}    0.64{col 56}{space 3}0.522{col 64}{space 4} -.004633{col 77}{space 3}   .00908
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 6.540624{col 36}{space 2} 18.84014{col 47}{space 1}    0.35{col 56}{space 3}0.729{col 64}{space 4}-30.77129{col 77}{space 3} 43.85254
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y $x $controls using "$dir/Results/marginal output.xls", se see label bdec(3) rdec(3) append addtext(Sample, SMP Prior 3)
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/marginal output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/marginal output.txt", label"':seeout}
{com}. restore
. {c )-}
{txt}
{com}. ********************************************************************************
. ** Table 4: Robustness checks for differential model
. {c -(}
.         *Row A & B; Row C is derived: (Row B - Row A)
.         *Note: Rows D & E are computed above as post specification tests for Table 2 results
. preserve
. set more off 
. drop if p1year == 2006
{txt}(245 observations deleted)
{com}. gen d2 = 1 if p1year > 2006
{txt}(1,030 missing values generated)
{com}. recode d2 (.=0)
{txt}(d2: 1030 changes made)
{com}. label var d2 "Post-period"
. gen dT = 1 if state=="nc"|state=="ky"
{txt}(1,488 missing values generated)
{com}. recode dT (.=0)
{txt}(dT: 1488 changes made)
{com}. label variable dT "Treated state"
. gen d2_dT = d2*dT
. lab var d2_dT "Policy Effect"
. global ddcontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year
. global y phase2
. drop if p1year < 2002
{txt}(0 observations deleted)
{com}. ** Table 4, Column 1
.         * Row A
.         logit $y d2 dT d2_dT $ddcontrol if agency == "nsf", cluster(firm_id)

{txt}note: Minority_dum != 0 predicts success perfectly
      Minority_dum dropped and 2 obs not used

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-106.34764}  
Iteration 1:{space 3}log pseudolikelihood = {res:-99.743896}  
Iteration 2:{space 3}log pseudolikelihood = {res:-99.671168}  
Iteration 3:{space 3}log pseudolikelihood = {res:-99.671164}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       160
{txt}{col 49}Wald chi2({res}8{txt}){col 67}= {res}     17.20
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0281
{txt}Log pseudolikelihood = {res}-99.671164{txt}{col 49}Pseudo R2{col 67}= {res}    0.0628

{txt}{ralign 88:(Std. Err. adjusted for {res:97} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-1.346749{col 36}{space 2} .3712996{col 47}{space 1}   -3.63{col 56}{space 3}0.000{col 64}{space 4}-2.074483{col 77}{space 3} -.619015
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.6025502{col 36}{space 2} .5263243{col 47}{space 1}   -1.14{col 56}{space 3}0.252{col 64}{space 4}-1.634127{col 77}{space 3} .4290265
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} 1.341724{col 36}{space 2} .6687357{col 47}{space 1}    2.01{col 56}{space 3}0.045{col 64}{space 4} .0310263{col 77}{space 3} 2.652422
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .0897411{col 36}{space 2} .4985419{col 47}{space 1}    0.18{col 56}{space 3}0.857{col 64}{space 4} -.887383{col 77}{space 3} 1.066865
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .3757768{col 36}{space 2}  1.04396{col 47}{space 1}    0.36{col 56}{space 3}0.719{col 64}{space 4}-1.670347{col 77}{space 3} 2.421901
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}        0{col 36}{txt}  (omitted)
p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0246316{col 36}{space 2}  .013023{col 47}{space 1}    1.89{col 56}{space 3}0.059{col 64}{space 4} -.000893{col 77}{space 3} .0501563
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2} .0433139{col 36}{space 2}  .037862{col 47}{space 1}    1.14{col 56}{space 3}0.253{col 64}{space 4}-.0308943{col 77}{space 3} .1175221
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0001041{col 36}{space 2} .0084685{col 47}{space 1}   -0.01{col 56}{space 3}0.990{col 64}{space 4}-.0167021{col 77}{space 3} .0164939
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-86.88038{col 36}{space 2} 75.71576{col 47}{space 1}   -1.15{col 56}{space 3}0.251{col 64}{space 4}-235.2805{col 77}{space 3} 61.51978
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{com}.         margins, dydx(*) post
{res}
{txt}Average marginal effects{col 49}Number of obs{col 67}= {res}       160
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Pr(phase2), predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:dy/dx w.r.t.}:{space 1}{res:d2 dT d2_dT WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year}{p_end}
{p2colreset}{...}

{res}{txt}{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36} Delta-method
{col 24}{c |}      dy/dx{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2921434{col 36}{space 2} .0703745{col 47}{space 1}   -4.15{col 56}{space 3}0.000{col 64}{space 4}-.4300748{col 77}{space 3}-.1542119
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.1307081{col 36}{space 2} .1127119{col 47}{space 1}   -1.16{col 56}{space 3}0.246{col 64}{space 4}-.3516194{col 77}{space 3} .0902031
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2910534{col 36}{space 2} .1389304{col 47}{space 1}    2.09{col 56}{space 3}0.036{col 64}{space 4} .0187547{col 77}{space 3} .5633521
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .0194671{col 36}{space 2} .1079567{col 47}{space 1}    0.18{col 56}{space 3}0.857{col 64}{space 4}-.1921242{col 77}{space 3} .2310583
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .0815153{col 36}{space 2} .2261856{col 47}{space 1}    0.36{col 56}{space 3}0.719{col 64}{space 4}-.3618002{col 77}{space 3} .5248309
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}        0{col 36}{txt}  (omitted)
p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0053432{col 36}{space 2} .0026993{col 47}{space 1}    1.98{col 56}{space 3}0.048{col 64}{space 4} .0000527{col 77}{space 3} .0106337
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2} .0093959{col 36}{space 2}  .008217{col 47}{space 1}    1.14{col 56}{space 3}0.253{col 64}{space 4}-.0067091{col 77}{space 3} .0255008
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0000226{col 36}{space 2} .0018369{col 47}{space 1}   -0.01{col 56}{space 3}0.990{col 64}{space 4}-.0036229{col 77}{space 3} .0035777
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) replace addtext(Logit) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.                 *margins, dydx(d2) at(dT = (0 1)) coeflegend post
.                 *di _b[1.d2:2._at]-_b[1.d2:1bn._at]
.                 *test _b[1.d2:2._at]=_b[1.d2:1bn._at]
.         * Row B
.         reg $y d2 dT d2_dT $ddcontrol if agency == "nsf", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       162
                                                {txt}F(9, 98)          =  {res}    36.17
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.0978
                                                {txt}Root MSE          =    {res} .47802

{txt}{ralign 88:(Std. Err. adjusted for {res:99} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2911378{col 36}{space 2} .0741077{col 47}{space 1}   -3.93{col 56}{space 3}0.000{col 64}{space 4}-.4382021{col 77}{space 3}-.1440736
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.1369769{col 36}{space 2} .1246681{col 47}{space 1}   -1.10{col 56}{space 3}0.275{col 64}{space 4}-.3843768{col 77}{space 3} .1104229
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2939321{col 36}{space 2} .1523126{col 47}{space 1}    1.93{col 56}{space 3}0.057{col 64}{space 4}-.0083273{col 77}{space 3} .5961916
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}  .016625{col 36}{space 2} .1159082{col 47}{space 1}    0.14{col 56}{space 3}0.886{col 64}{space 4}-.2133912{col 77}{space 3} .2466411
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .0788459{col 36}{space 2} .2424224{col 47}{space 1}    0.33{col 56}{space 3}0.746{col 64}{space 4}-.4022335{col 77}{space 3} .5599253
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .6200556{col 36}{space 2} .0831011{col 47}{space 1}    7.46{col 56}{space 3}0.000{col 64}{space 4} .4551442{col 77}{space 3}  .784967
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0055517{col 36}{space 2}  .002962{col 47}{space 1}    1.87{col 56}{space 3}0.064{col 64}{space 4}-.0003262{col 77}{space 3} .0114296
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2} .0081001{col 36}{space 2}  .006833{col 47}{space 1}    1.19{col 56}{space 3}0.239{col 64}{space 4}-.0054596{col 77}{space 3} .0216599
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0002238{col 36}{space 2} .0017112{col 47}{space 1}   -0.13{col 56}{space 3}0.896{col 64}{space 4}-.0036197{col 77}{space 3} .0031721
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-15.75615{col 36}{space 2} 13.66196{col 47}{space 1}   -1.15{col 56}{space 3}0.252{col 64}{space 4}-42.86787{col 77}{space 3} 11.35557
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(LPM_Table 2) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row D
.                 predict yhat 
{txt}(option {bf:xb} assumed; fitted values)
(352 missing values generated)
{com}.                 sum yhat if agency == "nsf"

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 8}yhat {c |}{res}        162    .3888889    .1529593    .027919   1.019352
{com}.                 gen oor=yhat<0|yhat>1 &yhat!=.
.                 tab oor if agency == "nsf"

        {txt}oor {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}        191       99.48       99.48
{txt}          1 {c |}{res}          1        0.52      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        192      100.00
{com}.                 drop yhat oor
.         * Row E
.                 *keep if agency == "nsf"
.                 *cgmwildboot $y d2 dT d2_dT $ddcontrol, cluster(statecode) bootcluster(statecode) reps(1500) null(0 0 0 0 0 0 0 0 0) 
.                 * ME (marginal effect) d2_dT = 0.620; p-value 0.049 (1500)
.         
. ** Table 4, Column 2
.         * Row A
.         drop if p1prior_capacity > 5
{txt}(887 observations deleted)
{com}.         logit $y d2 dT d2_dT $ddcontrol if agency == "hhs", cluster(firm_id)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-214.39527}  
Iteration 1:{space 3}log pseudolikelihood = {res: -206.7728}  
Iteration 2:{space 3}log pseudolikelihood = {res: -206.7486}  
Iteration 3:{space 3}log pseudolikelihood = {res:-206.74859}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       311
{txt}{col 49}Wald chi2({res}9{txt}){col 67}= {res}     16.46
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0578
{txt}Log pseudolikelihood = {res}-206.74859{txt}{col 49}Pseudo R2{col 67}= {res}    0.0357

{txt}{ralign 88:(Std. Err. adjusted for {res:171} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-1.161515{col 36}{space 2} .3725896{col 47}{space 1}   -3.12{col 56}{space 3}0.002{col 64}{space 4}-1.891778{col 77}{space 3}-.4312531
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.4072403{col 36}{space 2} .3239369{col 47}{space 1}   -1.26{col 56}{space 3}0.209{col 64}{space 4}-1.042145{col 77}{space 3} .2276643
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} 1.051984{col 36}{space 2}   .48014{col 47}{space 1}    2.19{col 56}{space 3}0.028{col 64}{space 4} .1109263{col 77}{space 3} 1.993041
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .0760764{col 36}{space 2} .3458732{col 47}{space 1}    0.22{col 56}{space 3}0.826{col 64}{space 4}-.6018225{col 77}{space 3} .7539753
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .9528882{col 36}{space 2} .7129574{col 47}{space 1}    1.34{col 56}{space 3}0.181{col 64}{space 4}-.4444826{col 77}{space 3} 2.350259
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}  .424119{col 36}{space 2} .4805591{col 47}{space 1}    0.88{col 56}{space 3}0.377{col 64}{space 4}-.5177595{col 77}{space 3} 1.365998
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0058453{col 36}{space 2} .0104435{col 47}{space 1}    0.56{col 56}{space 3}0.576{col 64}{space 4}-.0146237{col 77}{space 3} .0263142
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0088838{col 36}{space 2} .0144801{col 47}{space 1}   -0.61{col 56}{space 3}0.540{col 64}{space 4}-.0372643{col 77}{space 3} .0194967
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0032697{col 36}{space 2} .0026219{col 47}{space 1}   -1.25{col 56}{space 3}0.212{col 64}{space 4}-.0084084{col 77}{space 3} .0018691
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 17.96697{col 36}{space 2} 28.93082{col 47}{space 1}    0.62{col 56}{space 3}0.535{col 64}{space 4}-38.73639{col 77}{space 3} 74.67033
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{com}.         margins, dydx(*) post
{res}
{txt}Average marginal effects{col 49}Number of obs{col 67}= {res}       311
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Pr(phase2), predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:dy/dx w.r.t.}:{space 1}{res:d2 dT d2_dT WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year}{p_end}
{p2colreset}{...}

{res}{txt}{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36} Delta-method
{col 24}{c |}      dy/dx{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2743718{col 36}{space 2} .0818643{col 47}{space 1}   -3.35{col 56}{space 3}0.001{col 64}{space 4}-.4348228{col 77}{space 3}-.1139207
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0961978{col 36}{space 2} .0760803{col 47}{space 1}   -1.26{col 56}{space 3}0.206{col 64}{space 4}-.2453124{col 77}{space 3} .0529167
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2484983{col 36}{space 2} .1093286{col 47}{space 1}    2.27{col 56}{space 3}0.023{col 64}{space 4} .0342182{col 77}{space 3} .4627784
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .0179707{col 36}{space 2} .0816793{col 47}{space 1}    0.22{col 56}{space 3}0.826{col 64}{space 4}-.1421178{col 77}{space 3} .1780591
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .2250901{col 36}{space 2} .1678861{col 47}{space 1}    1.34{col 56}{space 3}0.180{col 64}{space 4}-.1039605{col 77}{space 3} .5541408
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .1001849{col 36}{space 2} .1129837{col 47}{space 1}    0.89{col 56}{space 3}0.375{col 64}{space 4} -.121259{col 77}{space 3} .3216288
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0013808{col 36}{space 2} .0024637{col 47}{space 1}    0.56{col 56}{space 3}0.575{col 64}{space 4} -.003448{col 77}{space 3} .0062095
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0020985{col 36}{space 2} .0034079{col 47}{space 1}   -0.62{col 56}{space 3}0.538{col 64}{space 4}-.0087778{col 77}{space 3} .0045808
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0007724{col 36}{space 2} .0006155{col 47}{space 1}   -1.25{col 56}{space 3}0.210{col 64}{space 4}-.0019786{col 77}{space 3} .0004339
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Logit) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.                 *margins, dydx(d2) at(dT = (0 1)) coeflegend post
.                 *di _b[1.d2:2._at]-_b[1.d2:1bn._at]
.                 *test _b[1.d2:2._at]=_b[1.d2:1bn._at]
.         * Row B
.         reg $y d2 dT d2_dT $ddcontrol if agency == "hhs", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       311
                                                {txt}F(9, 170)         =  {res}     2.22
                                                {txt}Prob > F          = {res}    0.0227
                                                {txt}R-squared         = {res}    0.0479
                                                {txt}Root MSE          =    {res} .49404

{txt}{ralign 88:(Std. Err. adjusted for {res:171} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2752937{col 36}{space 2} .0831487{col 47}{space 1}   -3.31{col 56}{space 3}0.001{col 64}{space 4}-.4394307{col 77}{space 3}-.1111567
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0999056{col 36}{space 2} .0806075{col 47}{space 1}   -1.24{col 56}{space 3}0.217{col 64}{space 4}-.2590262{col 77}{space 3}  .059215
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2482992{col 36}{space 2} .1124787{col 47}{space 1}    2.21{col 56}{space 3}0.029{col 64}{space 4} .0262643{col 77}{space 3} .4703341
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .0173021{col 36}{space 2} .0835701{col 47}{space 1}    0.21{col 56}{space 3}0.836{col 64}{space 4}-.1476668{col 77}{space 3} .1822709
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .2085689{col 36}{space 2} .1451979{col 47}{space 1}    1.44{col 56}{space 3}0.153{col 64}{space 4}-.0780542{col 77}{space 3} .4951919
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .0992541{col 36}{space 2} .1137781{col 47}{space 1}    0.87{col 56}{space 3}0.384{col 64}{space 4}-.1253457{col 77}{space 3}  .323854
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0013858{col 36}{space 2} .0025355{col 47}{space 1}    0.55{col 56}{space 3}0.585{col 64}{space 4}-.0036192{col 77}{space 3} .0063908
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0021184{col 36}{space 2} .0034433{col 47}{space 1}   -0.62{col 56}{space 3}0.539{col 64}{space 4}-.0089155{col 77}{space 3} .0046786
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0007908{col 36}{space 2} .0006027{col 47}{space 1}   -1.31{col 56}{space 3}0.191{col 64}{space 4}-.0019806{col 77}{space 3}  .000399
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 4.786842{col 36}{space 2} 6.878134{col 47}{space 1}    0.70{col 56}{space 3}0.487{col 64}{space 4}-8.790709{col 77}{space 3} 18.36439
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(LPM_Table 2) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row D
.                 predict yhat 
{txt}(option {bf:xb} assumed; fitted values)
(281 missing values generated)
{com}.                 sum yhat if agency == "hhs"

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 8}yhat {c |}{res}        311    .4565916    .1092257    .257866   .7952361
{com}.                 gen oor=yhat<0|yhat>1 &yhat!=.
.                 tab oor if agency == "hhs"

        {txt}oor {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}        420      100.00      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        420      100.00
{com}.                 drop yhat oor
.         * Row E
.                 *keep if agency == "hhs"
.                 *cgmwildboot $y d2 dT d2_dT $ddcontrol, cluster(statecode) bootcluster(statecode) reps(1500) null(0 0 0 0 0 0 0 0 0) 
.                 *ME d2_dT = 0.099; p-value: 0.124 (1500)
.         
. ** Table 4, Column 3
.         * Row A
.         drop if p1prior_capacity > 3
{txt}(172 observations deleted)
{com}.         logit $y d2 dT d2_dT $ddcontrol if agency == "hhs", cluster(firm_id)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-181.97628}  
Iteration 1:{space 3}log pseudolikelihood = {res: -175.6603}  
Iteration 2:{space 3}log pseudolikelihood = {res: -175.6434}  
Iteration 3:{space 3}log pseudolikelihood = {res:-175.64339}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       263
{txt}{col 49}Wald chi2({res}9{txt}){col 67}= {res}     13.72
{txt}{col 49}Prob > chi2{col 67}= {res}    0.1325
{txt}Log pseudolikelihood = {res}-175.64339{txt}{col 49}Pseudo R2{col 67}= {res}    0.0348

{txt}{ralign 88:(Std. Err. adjusted for {res:162} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-1.168953{col 36}{space 2} .4212211{col 47}{space 1}   -2.78{col 56}{space 3}0.006{col 64}{space 4}-1.994531{col 77}{space 3}-.3433748
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.4614296{col 36}{space 2} .3767635{col 47}{space 1}   -1.22{col 56}{space 3}0.221{col 64}{space 4}-1.199872{col 77}{space 3} .2770132
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} 1.038156{col 36}{space 2} .5367945{col 47}{space 1}    1.93{col 56}{space 3}0.053{col 64}{space 4} -.013942{col 77}{space 3} 2.090254
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0669992{col 36}{space 2} .4251844{col 47}{space 1}   -0.16{col 56}{space 3}0.875{col 64}{space 4}-.9003452{col 77}{space 3} .7663469
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .8577317{col 36}{space 2} .7471791{col 47}{space 1}    1.15{col 56}{space 3}0.251{col 64}{space 4}-.6067124{col 77}{space 3} 2.322176
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .5466936{col 36}{space 2} .4901034{col 47}{space 1}    1.12{col 56}{space 3}0.265{col 64}{space 4}-.4138914{col 77}{space 3} 1.507279
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0059081{col 36}{space 2} .0111612{col 47}{space 1}    0.53{col 56}{space 3}0.597{col 64}{space 4}-.0159675{col 77}{space 3} .0277836
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2} -.007841{col 36}{space 2} .0149311{col 47}{space 1}   -0.53{col 56}{space 3}0.599{col 64}{space 4}-.0371054{col 77}{space 3} .0214235
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}  -.00302{col 36}{space 2} .0023333{col 47}{space 1}   -1.29{col 56}{space 3}0.196{col 64}{space 4}-.0075931{col 77}{space 3} .0015531
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 15.99739{col 36}{space 2} 29.80797{col 47}{space 1}    0.54{col 56}{space 3}0.591{col 64}{space 4}-42.42515{col 77}{space 3} 74.41993
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{com}.         margins, dydx(*) post
{res}
{txt}Average marginal effects{col 49}Number of obs{col 67}= {res}       263
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Pr(phase2), predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:dy/dx w.r.t.}:{space 1}{res:d2 dT d2_dT WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year}{p_end}
{p2colreset}{...}

{res}{txt}{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36} Delta-method
{col 24}{c |}      dy/dx{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2778156{col 36}{space 2}  .094192{col 47}{space 1}   -2.95{col 56}{space 3}0.003{col 64}{space 4}-.4624285{col 77}{space 3}-.0932026
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.1096642{col 36}{space 2} .0886913{col 47}{space 1}   -1.24{col 56}{space 3}0.216{col 64}{space 4}-.2834959{col 77}{space 3} .0641674
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2467301{col 36}{space 2} .1239229{col 47}{space 1}    1.99{col 56}{space 3}0.046{col 64}{space 4} .0038457{col 77}{space 3} .4896145
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0159231{col 36}{space 2} .1010065{col 47}{space 1}   -0.16{col 56}{space 3}0.875{col 64}{space 4}-.2138923{col 77}{space 3} .1820461
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .2038501{col 36}{space 2} .1773749{col 47}{space 1}    1.15{col 56}{space 3}0.250{col 64}{space 4}-.1437982{col 77}{space 3} .5514985
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .1299282{col 36}{space 2} .1155455{col 47}{space 1}    1.12{col 56}{space 3}0.261{col 64}{space 4}-.0965368{col 77}{space 3} .3563933
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0014041{col 36}{space 2} .0026488{col 47}{space 1}    0.53{col 56}{space 3}0.596{col 64}{space 4}-.0037874{col 77}{space 3} .0065956
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0018635{col 36}{space 2} .0035382{col 47}{space 1}   -0.53{col 56}{space 3}0.598{col 64}{space 4}-.0087983{col 77}{space 3} .0050713
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0007177{col 36}{space 2} .0005491{col 47}{space 1}   -1.31{col 56}{space 3}0.191{col 64}{space 4}-.0017939{col 77}{space 3} .0003584
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Logit) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.                 *margins, dydx(d2) at(dT = (0 1)) coeflegend post
.                 *di _b[1.d2:2._at]-_b[1.d2:1bn._at]
.                 *test _b[1.d2:2._at]=_b[1.d2:1bn._at]
.         * Row B
.         reg $y d2 dT d2_dT $ddcontrol if agency == "hhs", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       263
                                                {txt}F(9, 161)         =  {res}     1.84
                                                {txt}Prob > F          = {res}    0.0655
                                                {txt}R-squared         = {res}    0.0470
                                                {txt}Root MSE          =    {res} .49705

{txt}{ralign 88:(Std. Err. adjusted for {res:162} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2795221{col 36}{space 2} .0970891{col 47}{space 1}   -2.88{col 56}{space 3}0.005{col 64}{space 4}-.4712545{col 77}{space 3}-.0877897
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.1122269{col 36}{space 2} .0929946{col 47}{space 1}   -1.21{col 56}{space 3}0.229{col 64}{space 4}-.2958734{col 77}{space 3} .0714196
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2473199{col 36}{space 2} .1280469{col 47}{space 1}    1.93{col 56}{space 3}0.055{col 64}{space 4}-.0055481{col 77}{space 3} .5001879
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0172661{col 36}{space 2} .1031236{col 47}{space 1}   -0.17{col 56}{space 3}0.867{col 64}{space 4}-.2209154{col 77}{space 3} .1863833
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .1849171{col 36}{space 2} .1534537{col 47}{space 1}    1.21{col 56}{space 3}0.230{col 64}{space 4}-.1181245{col 77}{space 3} .4879588
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .1274094{col 36}{space 2} .1121655{col 47}{space 1}    1.14{col 56}{space 3}0.258{col 64}{space 4}-.0940959{col 77}{space 3} .3489147
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0014171{col 36}{space 2} .0027356{col 47}{space 1}    0.52{col 56}{space 3}0.605{col 64}{space 4}-.0039851{col 77}{space 3} .0068193
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}  -.00187{col 36}{space 2} .0035425{col 47}{space 1}   -0.53{col 56}{space 3}0.598{col 64}{space 4}-.0088658{col 77}{space 3} .0051258
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0007332{col 36}{space 2} .0005529{col 47}{space 1}   -1.33{col 56}{space 3}0.187{col 64}{space 4}-.0018251{col 77}{space 3} .0003587
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}  4.31722{col 36}{space 2} 7.069382{col 47}{space 1}    0.61{col 56}{space 3}0.542{col 64}{space 4}-9.643453{col 77}{space 3} 18.27789
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(LPM_Table 2) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row D
.                 predict yhat 
{txt}(option {bf:xb} assumed; fitted values)
(269 missing values generated)
{com}.                 sum yhat if agency == "hhs"

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 8}yhat {c |}{res}        263    .4752852    .1084739   .2830146   .7991263
{com}.                 gen oor=yhat<0|yhat>1 &yhat!=.
.                 tab oor if agency == "hhs"

        {txt}oor {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}        369      100.00      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        369      100.00
{com}.                 drop yhat oor
.         * Row E
.                 *keep if agency == "hhs"
.                 *cgmwildboot $y d2 dT d2_dT $ddcontrol, cluster(statecode) bootcluster(statecode) reps(1500) null(0 0 0 0 0 0 0 0 0) 
.                 * ME d2_dT = 0.127; p-value = 0.104(1500 reps)
.         
. ** Table 4, Column 4
.         * Row A
.         drop if p1prior_capacity > 1
{txt}(271 observations deleted)
{com}.         logit $y d2 dT d2_dT $ddcontrol if agency == "nsf", cluster(firm_id)

{txt}note: Minority_dum != 0 predicts success perfectly
      Minority_dum dropped and 1 obs not used

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-58.632151}  
Iteration 1:{space 3}log pseudolikelihood = {res:-51.961822}  
Iteration 2:{space 3}log pseudolikelihood = {res:-51.899831}  
Iteration 3:{space 3}log pseudolikelihood = {res:-51.899802}  
Iteration 4:{space 3}log pseudolikelihood = {res:-51.899802}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}        87
{txt}{col 49}Wald chi2({res}8{txt}){col 67}= {res}     11.20
{txt}{col 49}Prob > chi2{col 67}= {res}    0.1909
{txt}Log pseudolikelihood = {res}-51.899802{txt}{col 49}Pseudo R2{col 67}= {res}    0.1148

{txt}{ralign 88:(Std. Err. adjusted for {res:73} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-2.297191{col 36}{space 2} .8592433{col 47}{space 1}   -2.67{col 56}{space 3}0.008{col 64}{space 4}-3.981277{col 77}{space 3}-.6131053
{txt}{space 20}dT {c |}{col 24}{res}{space 2} -1.14622{col 36}{space 2} .7749829{col 47}{space 1}   -1.48{col 56}{space 3}0.139{col 64}{space 4}-2.665159{col 77}{space 3} .3727182
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} 2.507986{col 36}{space 2} 1.123763{col 47}{space 1}    2.23{col 56}{space 3}0.026{col 64}{space 4} .3054513{col 77}{space 3} 4.710521
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}  -.78954{col 36}{space 2} .8859714{col 47}{space 1}   -0.89{col 56}{space 3}0.373{col 64}{space 4}-2.526012{col 77}{space 3} .9469321
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}-.3459179{col 36}{space 2} 1.206523{col 47}{space 1}   -0.29{col 56}{space 3}0.774{col 64}{space 4} -2.71066{col 77}{space 3} 2.018824
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}        0{col 36}{txt}  (omitted)
p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0375902{col 36}{space 2} .0183195{col 47}{space 1}    2.05{col 56}{space 3}0.040{col 64}{space 4} .0016846{col 77}{space 3} .0734959
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2} .0888662{col 36}{space 2} .0803809{col 47}{space 1}    1.11{col 56}{space 3}0.269{col 64}{space 4}-.0686774{col 77}{space 3} .2464098
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2} .0048589{col 36}{space 2} .0182365{col 47}{space 1}    0.27{col 56}{space 3}0.790{col 64}{space 4}-.0308841{col 77}{space 3} .0406018
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-177.9079{col 36}{space 2} 160.8436{col 47}{space 1}   -1.11{col 56}{space 3}0.269{col 64}{space 4}-493.1556{col 77}{space 3} 137.3398
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{com}.         margins, dydx(*) post
{res}
{txt}Average marginal effects{col 49}Number of obs{col 67}= {res}        87
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Pr(phase2), predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:dy/dx w.r.t.}:{space 1}{res:d2 dT d2_dT WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year}{p_end}
{p2colreset}{...}

{res}{txt}{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36} Delta-method
{col 24}{c |}      dy/dx{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.4716153{col 36}{space 2} .1436142{col 47}{space 1}   -3.28{col 56}{space 3}0.001{col 64}{space 4} -.753094{col 77}{space 3}-.1901366
{txt}{space 20}dT {c |}{col 24}{res}{space 2}  -.23532{col 36}{space 2} .1519763{col 47}{space 1}   -1.55{col 56}{space 3}0.122{col 64}{space 4}-.5331881{col 77}{space 3} .0625481
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .5148916{col 36}{space 2} .2018691{col 47}{space 1}    2.55{col 56}{space 3}0.011{col 64}{space 4} .1192354{col 77}{space 3} .9105478
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1620932{col 36}{space 2} .1792014{col 47}{space 1}   -0.90{col 56}{space 3}0.366{col 64}{space 4}-.5133214{col 77}{space 3}  .189135
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}-.0710172{col 36}{space 2} .2481866{col 47}{space 1}   -0.29{col 56}{space 3}0.775{col 64}{space 4} -.557454{col 77}{space 3} .4154195
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}        0{col 36}{txt}  (omitted)
p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0077173{col 36}{space 2} .0033054{col 47}{space 1}    2.33{col 56}{space 3}0.020{col 64}{space 4} .0012387{col 77}{space 3} .0141959
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2} .0182443{col 36}{space 2} .0162683{col 47}{space 1}    1.12{col 56}{space 3}0.262{col 64}{space 4} -.013641{col 77}{space 3} .0501296
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2} .0009975{col 36}{space 2} .0037388{col 47}{space 1}    0.27{col 56}{space 3}0.790{col 64}{space 4}-.0063304{col 77}{space 3} .0083255
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.                 outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Logit) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.                 *margins, dydx(d2) at(dT = (0 1)) coeflegend post
.                 *di _b[1.d2:2._at]-_b[1.d2:1bn._at]
.                 *test _b[1.d2:2._at]=_b[1.d2:1bn._at]
.         * Row B
.         reg $y d2 dT d2_dT $ddcontrol if agency == "nsf", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}        88
                                                {txt}{help j_robustsingular:F(8, 73) }         =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1591
                                                {txt}Root MSE          =    {res} .47889

{txt}{ralign 88:(Std. Err. adjusted for {res:74} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.4879434{col 36}{space 2}  .161431{col 47}{space 1}   -3.02{col 56}{space 3}0.003{col 64}{space 4} -.809675{col 77}{space 3}-.1662119
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.2580179{col 36}{space 2} .1720336{col 47}{space 1}   -1.50{col 56}{space 3}0.138{col 64}{space 4}-.6008804{col 77}{space 3} .0848446
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2}  .536488{col 36}{space 2} .2231251{col 47}{space 1}    2.40{col 56}{space 3}0.019{col 64}{space 4} .0918002{col 77}{space 3} .9811758
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1768018{col 36}{space 2} .2034151{col 47}{space 1}   -0.87{col 56}{space 3}0.388{col 64}{space 4}-.5822075{col 77}{space 3} .2286039
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}-.0674328{col 36}{space 2} .2259843{col 47}{space 1}   -0.30{col 56}{space 3}0.766{col 64}{space 4}-.5178188{col 77}{space 3} .3829532
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .6906038{col 36}{space 2} .1746053{col 47}{space 1}    3.96{col 56}{space 3}0.000{col 64}{space 4}  .342616{col 77}{space 3} 1.038592
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0080154{col 36}{space 2}  .003795{col 47}{space 1}    2.11{col 56}{space 3}0.038{col 64}{space 4}  .000452{col 77}{space 3} .0155788
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2} .0186515{col 36}{space 2} .0155636{col 47}{space 1}    1.20{col 56}{space 3}0.235{col 64}{space 4}-.0123667{col 77}{space 3} .0496696
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2} .0010978{col 36}{space 2} .0038277{col 47}{space 1}    0.29{col 56}{space 3}0.775{col 64}{space 4}-.0065308{col 77}{space 3} .0087263
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-36.83079{col 36}{space 2} 31.13705{col 47}{space 1}   -1.18{col 56}{space 3}0.241{col 64}{space 4}-98.88685{col 77}{space 3} 25.22527
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(LPM_Table 2)
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row D
.                 predict yhat 
{txt}(option {bf:xb} assumed; fitted values)
(207 missing values generated)
{com}.                 sum yhat if agency == "nsf"

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 8}yhat {c |}{res}         88    .4090909    .1972474   .0213364          1
{com}.                 gen oor=yhat<0|yhat>1 &yhat!=.
.                 tab oor if agency == "nsf"

        {txt}oor {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}        112      100.00      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        112      100.00
{com}.                 drop yhat oor
.         * Row E
.                 *keep if agency == "nsf"
.                 *cgmwildboot $y d2 dT d2_dT $ddcontrol, cluster(statecode) bootcluster(statecode) reps(1500) null(0 0 0 0 0 0 0 0 0) 
.                 * ME d2_dT = 0.691; p-value = 0.052
.         restore
. {c )-}
{txt}
{com}. ********************************************************************************
. ** Table 5: Robustness checks for marginal model
. {c -(}
. global y phase2
. global controls WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year
. global x c.smp1amt_pd_10k
. 
. preserve 
. set more off
.         drop if p1prior_capacity > 9
{txt}(741 observations deleted)
{com}. ** Table 5: Row A, Column 1
.         logit $y $x $controls, cluster(firm_id) nolog
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       163
{txt}{col 49}Wald chi2({res}7{txt}){col 67}= {res}      8.76
{txt}{col 49}Prob > chi2{col 67}= {res}    0.2704
{txt}Log pseudolikelihood = {res}-108.92649{txt}{col 49}Pseudo R2{col 67}= {res}    0.0315

{txt}{ralign 88:(Std. Err. adjusted for {res:129} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .1221527{col 36}{space 2}  .072081{col 47}{space 1}    1.69{col 56}{space 3}0.090{col 64}{space 4}-.0191235{col 77}{space 3} .2634289
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.7065664{col 36}{space 2} .4821819{col 47}{space 1}   -1.47{col 56}{space 3}0.143{col 64}{space 4}-1.651626{col 77}{space 3} .2384929
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .3504063{col 36}{space 2} .7031842{col 47}{space 1}    0.50{col 56}{space 3}0.618{col 64}{space 4}-1.027809{col 77}{space 3} 1.728622
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-1.626248{col 36}{space 2} .8301074{col 47}{space 1}   -1.96{col 56}{space 3}0.050{col 64}{space 4}-3.253229{col 77}{space 3} .0007321
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0026908{col 36}{space 2}   .01237{col 47}{space 1}    0.22{col 56}{space 3}0.828{col 64}{space 4}-.0215541{col 77}{space 3} .0269356
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2} -.011045{col 36}{space 2} .0361475{col 47}{space 1}   -0.31{col 56}{space 3}0.760{col 64}{space 4}-.0818928{col 77}{space 3} .0598027
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}  -.00078{col 36}{space 2} .0140812{col 47}{space 1}   -0.06{col 56}{space 3}0.956{col 64}{space 4}-.0283786{col 77}{space 3} .0268186
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 21.15281{col 36}{space 2} 72.49694{col 47}{space 1}    0.29{col 56}{space 3}0.770{col 64}{space 4}-120.9386{col 77}{space 3} 163.2442
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{com}.         margins, dydx(*) post 
{res}
{txt}Average marginal effects{col 49}Number of obs{col 67}= {res}       163
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Pr(phase2), predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:dy/dx w.r.t.}:{space 1}{res:smp1amt_pd_10k WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year}{p_end}
{p2colreset}{...}

{res}{txt}{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36} Delta-method
{col 24}{c |}      dy/dx{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0290884{col 36}{space 2} .0166165{col 47}{space 1}    1.75{col 56}{space 3}0.080{col 64}{space 4}-.0034794{col 77}{space 3} .0616561
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1682554{col 36}{space 2} .1128192{col 47}{space 1}   -1.49{col 56}{space 3}0.136{col 64}{space 4}-.3893771{col 77}{space 3} .0528662
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .0834426{col 36}{space 2} .1669493{col 47}{space 1}    0.50{col 56}{space 3}0.617{col 64}{space 4}-.2437721{col 77}{space 3} .4106573
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.3872603{col 36}{space 2} .1938447{col 47}{space 1}   -2.00{col 56}{space 3}0.046{col 64}{space 4} -.767189{col 77}{space 3}-.0073317
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0006408{col 36}{space 2} .0029428{col 47}{space 1}    0.22{col 56}{space 3}0.828{col 64}{space 4}-.0051269{col 77}{space 3} .0064084
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0026302{col 36}{space 2} .0085956{col 47}{space 1}   -0.31{col 56}{space 3}0.760{col 64}{space 4}-.0194773{col 77}{space 3}  .014217
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0001857{col 36}{space 2} .0033531{col 47}{space 1}   -0.06{col 56}{space 3}0.956{col 64}{space 4}-.0067577{col 77}{space 3} .0063862
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.                 ** Row B, Column 1 (re-reported from Table 3: Column 2)
.         reg $y $x $controls, cluster(firm_id)

{txt}Linear regression                               Number of obs     = {res}       163
                                                {txt}F(7, 128)         =  {res}     1.93
                                                {txt}Prob > F          = {res}    0.0693
                                                {txt}R-squared         = {res}    0.0412
                                                {txt}Root MSE          =    {res} .50047

{txt}{ralign 88:(Std. Err. adjusted for {res:129} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0290536{col 36}{space 2} .0169268{col 47}{space 1}    1.72{col 56}{space 3}0.089{col 64}{space 4} -.004439{col 77}{space 3} .0625462
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1661119{col 36}{space 2} .1091224{col 47}{space 1}   -1.52{col 56}{space 3}0.130{col 64}{space 4}-.3820291{col 77}{space 3} .0498053
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .0834281{col 36}{space 2} .1757983{col 47}{space 1}    0.47{col 56}{space 3}0.636{col 64}{space 4} -.264419{col 77}{space 3} .4312751
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} -.330744{col 36}{space 2} .1153671{col 47}{space 1}   -2.87{col 56}{space 3}0.005{col 64}{space 4}-.5590174{col 77}{space 3}-.1024706
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0006499{col 36}{space 2} .0030462{col 47}{space 1}    0.21{col 56}{space 3}0.831{col 64}{space 4}-.0053774{col 77}{space 3} .0066773
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0025275{col 36}{space 2} .0086628{col 47}{space 1}   -0.29{col 56}{space 3}0.771{col 64}{space 4}-.0196683{col 77}{space 3} .0146133
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0001321{col 36}{space 2} .0034641{col 47}{space 1}   -0.04{col 56}{space 3}0.970{col 64}{space 4}-.0069865{col 77}{space 3} .0067223
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 5.331038{col 36}{space 2} 17.37755{col 47}{space 1}    0.31{col 56}{space 3}0.760{col 64}{space 4}-29.05341{col 77}{space 3} 39.71549
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.                 ** Row D, Column 1: OOR Predictions
.                 predict yhat 
{txt}(option {bf:xb} assumed; fitted values)
(1,518 missing values generated)
{com}.                 sum yhat 

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 8}yhat {c |}{res}        163    .4601227    .1014481   .0343436   .6570139
{com}.                 gen oor=yhat<0|yhat>1 &yhat!=.
.                 tab oor 

        {txt}oor {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}      1,681      100.00      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      1,681      100.00
{com}.                 drop yhat oor
. 
. ** Table 5: Row A, Column 2
.         drop if p1prior_capacity > 5
{txt}(238 observations deleted)
{com}.         logit $y $x $controls, cluster(firm_id) nolog
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       152
{txt}{col 49}Wald chi2({res}7{txt}){col 67}= {res}     10.47
{txt}{col 49}Prob > chi2{col 67}= {res}    0.1635
{txt}Log pseudolikelihood = {res}-100.46642{txt}{col 49}Pseudo R2{col 67}= {res}    0.0421

{txt}{ralign 88:(Std. Err. adjusted for {res:124} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .1620504{col 36}{space 2} .0789681{col 47}{space 1}    2.05{col 56}{space 3}0.040{col 64}{space 4} .0072758{col 77}{space 3} .3168251
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.7143557{col 36}{space 2} .4902112{col 47}{space 1}   -1.46{col 56}{space 3}0.145{col 64}{space 4}-1.675152{col 77}{space 3} .2464406
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .4747017{col 36}{space 2} .7038189{col 47}{space 1}    0.67{col 56}{space 3}0.500{col 64}{space 4}-.9047579{col 77}{space 3} 1.854161
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-1.645168{col 36}{space 2}  .814048{col 47}{space 1}   -2.02{col 56}{space 3}0.043{col 64}{space 4}-3.240673{col 77}{space 3}-.0496635
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0041219{col 36}{space 2} .0130669{col 47}{space 1}    0.32{col 56}{space 3}0.752{col 64}{space 4}-.0214888{col 77}{space 3} .0297325
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0153328{col 36}{space 2} .0375761{col 47}{space 1}   -0.41{col 56}{space 3}0.683{col 64}{space 4}-.0889806{col 77}{space 3} .0583149
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0008542{col 36}{space 2} .0145754{col 47}{space 1}   -0.06{col 56}{space 3}0.953{col 64}{space 4}-.0294215{col 77}{space 3} .0277131
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 29.41302{col 36}{space 2} 75.40312{col 47}{space 1}    0.39{col 56}{space 3}0.696{col 64}{space 4}-118.3744{col 77}{space 3} 177.2004
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{com}.         margins, dydx(*) post 
{res}
{txt}Average marginal effects{col 49}Number of obs{col 67}= {res}       152
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Pr(phase2), predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:dy/dx w.r.t.}:{space 1}{res:smp1amt_pd_10k WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year}{p_end}
{p2colreset}{...}

{res}{txt}{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36} Delta-method
{col 24}{c |}      dy/dx{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0380285{col 36}{space 2} .0175955{col 47}{space 1}    2.16{col 56}{space 3}0.031{col 64}{space 4} .0035419{col 77}{space 3} .0725151
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1676385{col 36}{space 2} .1129048{col 47}{space 1}   -1.48{col 56}{space 3}0.138{col 64}{space 4}-.3889279{col 77}{space 3} .0536509
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .1113987{col 36}{space 2} .1642673{col 47}{space 1}    0.68{col 56}{space 3}0.498{col 64}{space 4}-.2105592{col 77}{space 3} .4333566
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.3860732{col 36}{space 2} .1870672{col 47}{space 1}   -2.06{col 56}{space 3}0.039{col 64}{space 4}-.7527182{col 77}{space 3}-.0194282
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0009673{col 36}{space 2} .0030608{col 47}{space 1}    0.32{col 56}{space 3}0.752{col 64}{space 4}-.0050317{col 77}{space 3} .0069662
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0035982{col 36}{space 2} .0087968{col 47}{space 1}   -0.41{col 56}{space 3}0.683{col 64}{space 4}-.0208395{col 77}{space 3} .0136432
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0002005{col 36}{space 2} .0034204{col 47}{space 1}   -0.06{col 56}{space 3}0.953{col 64}{space 4}-.0069044{col 77}{space 3} .0065035
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.                 ** Row B, Column 2 (re-reported Table 3: Column 3)
.         reg $y $x $controls, cluster(firm_id)

{txt}Linear regression                               Number of obs     = {res}       152
                                                {txt}F(7, 123)         =  {res}     2.31
                                                {txt}Prob > F          = {res}    0.0299
                                                {txt}R-squared         = {res}    0.0550
                                                {txt}Root MSE          =    {res} .49781

{txt}{ralign 88:(Std. Err. adjusted for {res:124} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0377939{col 36}{space 2} .0177721{col 47}{space 1}    2.13{col 56}{space 3}0.035{col 64}{space 4} .0026151{col 77}{space 3} .0729728
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1657812{col 36}{space 2} .1099004{col 47}{space 1}   -1.51{col 56}{space 3}0.134{col 64}{space 4}-.3833223{col 77}{space 3} .0517598
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .1102892{col 36}{space 2} .1734423{col 47}{space 1}    0.64{col 56}{space 3}0.526{col 64}{space 4}-.2330293{col 77}{space 3} .4536077
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.3311223{col 36}{space 2} .1128055{col 47}{space 1}   -2.94{col 56}{space 3}0.004{col 64}{space 4}-.5544139{col 77}{space 3}-.1078306
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0009768{col 36}{space 2} .0031756{col 47}{space 1}    0.31{col 56}{space 3}0.759{col 64}{space 4}-.0053092{col 77}{space 3} .0072628
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0034936{col 36}{space 2}  .008918{col 47}{space 1}   -0.39{col 56}{space 3}0.696{col 64}{space 4}-.0211462{col 77}{space 3}  .014159
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2} -.000122{col 36}{space 2} .0035276{col 47}{space 1}   -0.03{col 56}{space 3}0.972{col 64}{space 4}-.0071048{col 77}{space 3} .0068607
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 7.194094{col 36}{space 2} 17.90054{col 47}{space 1}    0.40{col 56}{space 3}0.688{col 64}{space 4}-28.23892{col 77}{space 3} 42.62711
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.                 ** Row D, Column 2: OOR Predictions
.                 predict yhat 
{txt}(option {bf:xb} assumed; fitted values)
(1,291 missing values generated)
{com}.                 sum yhat 

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 8}yhat {c |}{res}        152    .4605263    .1172989  -.0069986   .7027042
{com}.                 gen oor=yhat<0|yhat>1 &yhat!=.
.                 tab oor 

        {txt}oor {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}      1,442       99.93       99.93
{txt}          1 {c |}{res}          1        0.07      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      1,443      100.00
{com}.                 drop yhat oor
. 
. ** Table 5: Row A, Column 3
.         drop if p1prior_capacity > 3
{txt}(194 observations deleted)
{com}.         logit $y $x $controls, cluster(firm_id) nolog
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       136
{txt}{col 49}Wald chi2({res}7{txt}){col 67}= {res}      9.65
{txt}{col 49}Prob > chi2{col 67}= {res}    0.2096
{txt}Log pseudolikelihood = {res}-89.399166{txt}{col 49}Pseudo R2{col 67}= {res}    0.0443

{txt}{ralign 88:(Std. Err. adjusted for {res:118} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .1365983{col 36}{space 2} .0825231{col 47}{space 1}    1.66{col 56}{space 3}0.098{col 64}{space 4} -.025144{col 77}{space 3} .2983407
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.7650256{col 36}{space 2} .5531104{col 47}{space 1}   -1.38{col 56}{space 3}0.167{col 64}{space 4}-1.849102{col 77}{space 3} .3190509
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} 1.611188{col 36}{space 2} 1.167342{col 47}{space 1}    1.38{col 56}{space 3}0.168{col 64}{space 4}-.6767601{col 77}{space 3} 3.899137
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-1.273489{col 36}{space 2} .8048033{col 47}{space 1}   -1.58{col 56}{space 3}0.114{col 64}{space 4}-2.850874{col 77}{space 3}  .303897
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0062361{col 36}{space 2} .0140281{col 47}{space 1}    0.44{col 56}{space 3}0.657{col 64}{space 4}-.0212583{col 77}{space 3} .0337306
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2} -.013607{col 36}{space 2} .0392842{col 47}{space 1}   -0.35{col 56}{space 3}0.729{col 64}{space 4}-.0906027{col 77}{space 3} .0633886
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2} .0093338{col 36}{space 2} .0161134{col 47}{space 1}    0.58{col 56}{space 3}0.562{col 64}{space 4}-.0222479{col 77}{space 3} .0409155
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 25.95414{col 36}{space 2} 78.84947{col 47}{space 1}    0.33{col 56}{space 3}0.742{col 64}{space 4} -128.588{col 77}{space 3} 180.4963
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{com}.         margins, dydx(*) post 
{res}
{txt}Average marginal effects{col 49}Number of obs{col 67}= {res}       136
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Pr(phase2), predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:dy/dx w.r.t.}:{space 1}{res:smp1amt_pd_10k WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year}{p_end}
{p2colreset}{...}

{res}{txt}{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36} Delta-method
{col 24}{c |}      dy/dx{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0318089{col 36}{space 2} .0186368{col 47}{space 1}    1.71{col 56}{space 3}0.088{col 64}{space 4}-.0047186{col 77}{space 3} .0683365
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1781475{col 36}{space 2} .1258558{col 47}{space 1}   -1.42{col 56}{space 3}0.157{col 64}{space 4}-.4248202{col 77}{space 3} .0685253
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}  .375189{col 36}{space 2} .2658371{col 47}{space 1}    1.41{col 56}{space 3}0.158{col 64}{space 4}-.1458423{col 77}{space 3} .8962202
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.2965506{col 36}{space 2} .1849852{col 47}{space 1}   -1.60{col 56}{space 3}0.109{col 64}{space 4}-.6591149{col 77}{space 3} .0660138
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0014522{col 36}{space 2}  .003258{col 47}{space 1}    0.45{col 56}{space 3}0.656{col 64}{space 4}-.0049333{col 77}{space 3} .0078377
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0031686{col 36}{space 2} .0091219{col 47}{space 1}   -0.35{col 56}{space 3}0.728{col 64}{space 4}-.0210472{col 77}{space 3}   .01471
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2} .0021735{col 36}{space 2} .0037403{col 47}{space 1}    0.58{col 56}{space 3}0.561{col 64}{space 4}-.0051574{col 77}{space 3} .0095044
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.                 ** Row B, Column 3 (re-reported Table 3: Column 4)
.         reg $y $x $controls, cluster(firm_id)

{txt}Linear regression                               Number of obs     = {res}       136
                                                {txt}F(7, 117)         =  {res}     1.95
                                                {txt}Prob > F          = {res}    0.0674
                                                {txt}R-squared         = {res}    0.0583
                                                {txt}Root MSE          =    {res} .49749

{txt}{ralign 88:(Std. Err. adjusted for {res:118} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0315594{col 36}{space 2} .0187148{col 47}{space 1}    1.69{col 56}{space 3}0.094{col 64}{space 4}-.0055043{col 77}{space 3} .0686232
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} -.174678{col 36}{space 2} .1194615{col 47}{space 1}   -1.46{col 56}{space 3}0.146{col 64}{space 4}-.4112652{col 77}{space 3} .0619093
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .3658317{col 36}{space 2} .2234926{col 47}{space 1}    1.64{col 56}{space 3}0.104{col 64}{space 4}-.0767837{col 77}{space 3}  .808447
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.2651905{col 36}{space 2} .1306836{col 47}{space 1}   -2.03{col 56}{space 3}0.045{col 64}{space 4}-.5240025{col 77}{space 3}-.0063785
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0014457{col 36}{space 2} .0034024{col 47}{space 1}    0.42{col 56}{space 3}0.672{col 64}{space 4}-.0052926{col 77}{space 3} .0081839
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0031667{col 36}{space 2} .0093849{col 47}{space 1}   -0.34{col 56}{space 3}0.736{col 64}{space 4} -.021753{col 77}{space 3} .0154196
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2} .0022235{col 36}{space 2} .0034621{col 47}{space 1}    0.64{col 56}{space 3}0.522{col 64}{space 4} -.004633{col 77}{space 3}   .00908
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 6.540624{col 36}{space 2} 18.84014{col 47}{space 1}    0.35{col 56}{space 3}0.729{col 64}{space 4}-30.77129{col 77}{space 3} 43.85254
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.                 ** Row D, Column 2: OOR Predictions
.                 predict yhat 
{txt}(option {bf:xb} assumed; fitted values)
(1,113 missing values generated)
{com}.                 sum yhat 

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 8}yhat {c |}{res}        136    .4485294     .120497   .0563298   .8561028
{com}.                 gen oor=yhat<0|yhat>1 &yhat!=.
.                 tab oor 

        {txt}oor {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}      1,249      100.00      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      1,249      100.00
{com}.                 drop yhat oor
. restore
. {c )-}
{txt}
{com}. ********************************************************************************
. ** Table 6: Sensitivity analysis for differential model
. {c -(}
. preserve 
. drop if p1year == 2006
{txt}(245 observations deleted)
{com}. gen d2 = 1 if p1year > 2006
{txt}(1,030 missing values generated)
{com}. recode d2 (.=0)
{txt}(d2: 1030 changes made)
{com}. label var d2 "Post-period"
. gen dT = 1 if state=="nc"|state=="ky"
{txt}(1,488 missing values generated)
{com}. recode dT (.=0)
{txt}(dT: 1488 changes made)
{com}. label variable dT "Treated state"
. gen d2_dT = d2*dT
. lab var d2_dT "Policy Effect"
. global ddcontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year
. global y phase2
. drop if p1year < 2002
{txt}(0 observations deleted)
{com}. 
.         * Data prep
.         ** Complete Case Analysis
.                 global cca_control WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year 
.         ** code for DVA: recode yr_est = p1year & Emp = 1; include dummy variable for missing
.                 gen emp_dva = Emp_p1year
{txt}(345 missing values generated)
{com}.                 recode emp_dva (.=1)
{txt}(emp_dva: 345 changes made)
{com}.                 gen dva_emp_dum = 1 if Emp_p1year ==.
{txt}(1,832 missing values generated)
{com}.                 recode dva_emp_dum (.=0)
{txt}(dva_emp_dum: 1832 changes made)
{com}.                 gen yr_dva = yr_est_full
{txt}(67 missing values generated)
{com}.                 replace yr_dva = p1year if yr_est_full == .
{txt}(67 real changes made)
{com}.                 gen dva_yr_dum = 1 if yr_est_full ==.
{txt}(2,110 missing values generated)
{com}.                 recode dva_yr_dum (.=0)
{txt}(dva_yr_dum: 2110 changes made)
{com}.                 global dvacontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_dva emp_dva dva_yr_dum dva_emp_dum
.         ** Mean Imputation
.                 gen yr_impute_mean = yr_est_full
{txt}(67 missing values generated)
{com}.                 replace yr_impute_mean = p1year - 6 if yr_est_full == .
{txt}(67 real changes made)
{com}.                 global MIcontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_impute_mean emp1_impute
.         ** Remove incomplete data (remove NETS)
.                 global SBIRcontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual
.         * control_set in cca_control dvacontrol MIcontrol SBIRcontrol
.                 global controls WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_impute_mean emp1_impute
. 
. ** Table 6, Column 1
.         * Row A
.         reg $y d2 dT d2_dT $ddcontrol if agency == "nsf", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       162
                                                {txt}F(9, 98)          =  {res}    36.17
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.0978
                                                {txt}Root MSE          =    {res} .47802

{txt}{ralign 88:(Std. Err. adjusted for {res:99} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2911378{col 36}{space 2} .0741077{col 47}{space 1}   -3.93{col 56}{space 3}0.000{col 64}{space 4}-.4382021{col 77}{space 3}-.1440736
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.1369769{col 36}{space 2} .1246681{col 47}{space 1}   -1.10{col 56}{space 3}0.275{col 64}{space 4}-.3843768{col 77}{space 3} .1104229
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2939321{col 36}{space 2} .1523126{col 47}{space 1}    1.93{col 56}{space 3}0.057{col 64}{space 4}-.0083273{col 77}{space 3} .5961916
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}  .016625{col 36}{space 2} .1159082{col 47}{space 1}    0.14{col 56}{space 3}0.886{col 64}{space 4}-.2133912{col 77}{space 3} .2466411
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .0788459{col 36}{space 2} .2424224{col 47}{space 1}    0.33{col 56}{space 3}0.746{col 64}{space 4}-.4022335{col 77}{space 3} .5599253
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .6200556{col 36}{space 2} .0831011{col 47}{space 1}    7.46{col 56}{space 3}0.000{col 64}{space 4} .4551442{col 77}{space 3}  .784967
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0055517{col 36}{space 2}  .002962{col 47}{space 1}    1.87{col 56}{space 3}0.064{col 64}{space 4}-.0003262{col 77}{space 3} .0114296
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2} .0081001{col 36}{space 2}  .006833{col 47}{space 1}    1.19{col 56}{space 3}0.239{col 64}{space 4}-.0054596{col 77}{space 3} .0216599
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0002238{col 36}{space 2} .0017112{col 47}{space 1}   -0.13{col 56}{space 3}0.896{col 64}{space 4}-.0036197{col 77}{space 3} .0031721
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-15.75615{col 36}{space 2} 13.66196{col 47}{space 1}   -1.15{col 56}{space 3}0.252{col 64}{space 4}-42.86787{col 77}{space 3} 11.35557
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) replace addtext(Sample, NSF*) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row B (Dummy Variable Analysis)
.         reg $y d2 dT d2_dT $dvacontrol if agency == "nsf", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       192
                                                {txt}F(11, 124)        =  {res}    45.87
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.0917
                                                {txt}Root MSE          =    {res} .47782

{txt}{ralign 88:(Std. Err. adjusted for {res:125} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2726005{col 36}{space 2} .0738044{col 47}{space 1}   -3.69{col 56}{space 3}0.000{col 64}{space 4}-.4186801{col 77}{space 3}-.1265209
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0876831{col 36}{space 2} .0972466{col 47}{space 1}   -0.90{col 56}{space 3}0.369{col 64}{space 4}-.2801613{col 77}{space 3} .1047951
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2242926{col 36}{space 2}  .130543{col 47}{space 1}    1.72{col 56}{space 3}0.088{col 64}{space 4}-.0340886{col 77}{space 3} .4826738
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0587202{col 36}{space 2} .1031283{col 47}{space 1}   -0.57{col 56}{space 3}0.570{col 64}{space 4}  -.26284{col 77}{space 3} .1453996
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .0656358{col 36}{space 2} .2401843{col 47}{space 1}    0.27{col 56}{space 3}0.785{col 64}{space 4}-.4097561{col 77}{space 3} .5410278
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .6124202{col 36}{space 2} .0722054{col 47}{space 1}    8.48{col 56}{space 3}0.000{col 64}{space 4} .4695056{col 77}{space 3} .7553349
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0045934{col 36}{space 2} .0027034{col 47}{space 1}    1.70{col 56}{space 3}0.092{col 64}{space 4}-.0007573{col 77}{space 3} .0099442
{txt}{space 16}yr_dva {c |}{col 24}{res}{space 2} .0041455{col 36}{space 2} .0019606{col 47}{space 1}    2.11{col 56}{space 3}0.036{col 64}{space 4}  .000265{col 77}{space 3} .0080261
{txt}{space 15}emp_dva {c |}{col 24}{res}{space 2}-.0010242{col 36}{space 2} .0013422{col 47}{space 1}   -0.76{col 56}{space 3}0.447{col 64}{space 4}-.0036808{col 77}{space 3} .0016323
{txt}{space 12}dva_yr_dum {c |}{col 24}{res}{space 2}-.3155578{col 36}{space 2} .1700934{col 47}{space 1}   -1.86{col 56}{space 3}0.066{col 64}{space 4}-.6522202{col 77}{space 3} .0211046
{txt}{space 11}dva_emp_dum {c |}{col 24}{res}{space 2}-.0461021{col 36}{space 2} .1031485{col 47}{space 1}   -0.45{col 56}{space 3}0.656{col 64}{space 4}-.2502618{col 77}{space 3} .1580575
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-7.823345{col 36}{space 2} 3.919579{col 47}{space 1}   -2.00{col 56}{space 3}0.048{col 64}{space 4}-15.58129{col 77}{space 3}-.0653991
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $dvacontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF*) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row C (Mean Imputation)
.         reg $y d2 dT d2_dT $MIcontrol if agency == "nsf", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       192
                                                {txt}F(9, 124)         =  {res}    52.00
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.0768
                                                {txt}Root MSE          =    {res} .47907

{txt}{ralign 88:(Std. Err. adjusted for {res:125} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2378174{col 36}{space 2} .0753587{col 47}{space 1}   -3.16{col 56}{space 3}0.002{col 64}{space 4}-.3869734{col 77}{space 3}-.0886614
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0875837{col 36}{space 2}  .099424{col 47}{space 1}   -0.88{col 56}{space 3}0.380{col 64}{space 4}-.2843716{col 77}{space 3} .1092043
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2249276{col 36}{space 2} .1324426{col 47}{space 1}    1.70{col 56}{space 3}0.092{col 64}{space 4}-.0372134{col 77}{space 3} .4870687
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0816184{col 36}{space 2}  .105882{col 47}{space 1}   -0.77{col 56}{space 3}0.442{col 64}{space 4}-.2911885{col 77}{space 3} .1279517
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .0757834{col 36}{space 2} .2364128{col 47}{space 1}    0.32{col 56}{space 3}0.749{col 64}{space 4}-.3921438{col 77}{space 3} .5437105
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .6171667{col 36}{space 2} .0699721{col 47}{space 1}    8.82{col 56}{space 3}0.000{col 64}{space 4} .4786723{col 77}{space 3} .7556612
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0047103{col 36}{space 2} .0027352{col 47}{space 1}    1.72{col 56}{space 3}0.088{col 64}{space 4}-.0007035{col 77}{space 3} .0101241
{txt}{space 8}yr_impute_mean {c |}{col 24}{res}{space 2} .0046276{col 36}{space 2} .0020234{col 47}{space 1}    2.29{col 56}{space 3}0.024{col 64}{space 4} .0006227{col 77}{space 3} .0086324
{txt}{space 11}emp1_impute {c |}{col 24}{res}{space 2}-.0005815{col 36}{space 2} .0013233{col 47}{space 1}   -0.44{col 56}{space 3}0.661{col 64}{space 4}-.0032008{col 77}{space 3} .0020378
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-8.830758{col 36}{space 2} 4.040535{col 47}{space 1}   -2.19{col 56}{space 3}0.031{col 64}{space 4}-16.82811{col 77}{space 3}-.8334062
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $MIcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF*) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row D (Limited SBIR controls)
.         reg $y d2 dT d2_dT $SBIRcontrol if agency == "nsf", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       192
                                                {txt}F(7, 124)         =  {res}    56.19
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.0662
                                                {txt}Root MSE          =    {res} .47918

{txt}{ralign 88:(Std. Err. adjusted for {res:125} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2156955{col 36}{space 2}  .076305{col 47}{space 1}   -2.83{col 56}{space 3}0.005{col 64}{space 4}-.3667245{col 77}{space 3}-.0646664
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0873038{col 36}{space 2} .1004863{col 47}{space 1}   -0.87{col 56}{space 3}0.387{col 64}{space 4}-.2861944{col 77}{space 3} .1115868
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2225953{col 36}{space 2} .1309849{col 47}{space 1}    1.70{col 56}{space 3}0.092{col 64}{space 4}-.0366606{col 77}{space 3} .4818512
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0634445{col 36}{space 2} .1034679{col 47}{space 1}   -0.61{col 56}{space 3}0.541{col 64}{space 4}-.2682365{col 77}{space 3} .1413476
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .0952011{col 36}{space 2} .2305873{col 47}{space 1}    0.41{col 56}{space 3}0.680{col 64}{space 4}-.3611958{col 77}{space 3} .5515979
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .6150811{col 36}{space 2} .0704294{col 47}{space 1}    8.73{col 56}{space 3}0.000{col 64}{space 4} .4756816{col 77}{space 3} .7544807
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0048699{col 36}{space 2} .0027163{col 47}{space 1}    1.79{col 56}{space 3}0.075{col 64}{space 4}-.0005065{col 77}{space 3} .0102462
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .3995794{col 36}{space 2} .0690381{col 47}{space 1}    5.79{col 56}{space 3}0.000{col 64}{space 4} .2629336{col 77}{space 3} .5362251
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $SBIRcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF*) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}. 
. ** Table 6: Column 2
.         drop if p1prior_capacity > 5
{txt}(887 observations deleted)
{com}.         * Row A
.         reg $y d2 dT d2_dT $ddcontrol if agency == "hhs", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       311
                                                {txt}F(9, 170)         =  {res}     2.22
                                                {txt}Prob > F          = {res}    0.0227
                                                {txt}R-squared         = {res}    0.0479
                                                {txt}Root MSE          =    {res} .49404

{txt}{ralign 88:(Std. Err. adjusted for {res:171} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2752937{col 36}{space 2} .0831487{col 47}{space 1}   -3.31{col 56}{space 3}0.001{col 64}{space 4}-.4394307{col 77}{space 3}-.1111567
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0999056{col 36}{space 2} .0806075{col 47}{space 1}   -1.24{col 56}{space 3}0.217{col 64}{space 4}-.2590262{col 77}{space 3}  .059215
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2482992{col 36}{space 2} .1124787{col 47}{space 1}    2.21{col 56}{space 3}0.029{col 64}{space 4} .0262643{col 77}{space 3} .4703341
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .0173021{col 36}{space 2} .0835701{col 47}{space 1}    0.21{col 56}{space 3}0.836{col 64}{space 4}-.1476668{col 77}{space 3} .1822709
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .2085689{col 36}{space 2} .1451979{col 47}{space 1}    1.44{col 56}{space 3}0.153{col 64}{space 4}-.0780542{col 77}{space 3} .4951919
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .0992541{col 36}{space 2} .1137781{col 47}{space 1}    0.87{col 56}{space 3}0.384{col 64}{space 4}-.1253457{col 77}{space 3}  .323854
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0013858{col 36}{space 2} .0025355{col 47}{space 1}    0.55{col 56}{space 3}0.585{col 64}{space 4}-.0036192{col 77}{space 3} .0063908
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0021184{col 36}{space 2} .0034433{col 47}{space 1}   -0.62{col 56}{space 3}0.539{col 64}{space 4}-.0089155{col 77}{space 3} .0046786
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0007908{col 36}{space 2} .0006027{col 47}{space 1}   -1.31{col 56}{space 3}0.191{col 64}{space 4}-.0019806{col 77}{space 3}  .000399
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 4.786842{col 36}{space 2} 6.878134{col 47}{space 1}    0.70{col 56}{space 3}0.487{col 64}{space 4}-8.790709{col 77}{space 3} 18.36439
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row B (Dummy Variable Analysis)
.         reg $y d2 dT d2_dT $dvacontrol if agency == "hhs", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       420
                                                {txt}F(11, 230)        =  {res}     2.04
                                                {txt}Prob > F          = {res}    0.0255
                                                {txt}R-squared         = {res}    0.0396
                                                {txt}Root MSE          =    {res} .49441

{txt}{ralign 88:(Std. Err. adjusted for {res:231} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2329596{col 36}{space 2} .0709568{col 47}{space 1}   -3.28{col 56}{space 3}0.001{col 64}{space 4}-.3727679{col 77}{space 3}-.0931512
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0275239{col 36}{space 2} .0694172{col 47}{space 1}   -0.40{col 56}{space 3}0.692{col 64}{space 4}-.1642989{col 77}{space 3} .1092511
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .1956316{col 36}{space 2} .0952994{col 47}{space 1}    2.05{col 56}{space 3}0.041{col 64}{space 4} .0078602{col 77}{space 3}  .383403
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .0158587{col 36}{space 2} .0746073{col 47}{space 1}    0.21{col 56}{space 3}0.832{col 64}{space 4}-.1311424{col 77}{space 3} .1628599
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .1536421{col 36}{space 2} .1192522{col 47}{space 1}    1.29{col 56}{space 3}0.199{col 64}{space 4}-.0813243{col 77}{space 3} .3886085
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .0761329{col 36}{space 2} .1260093{col 47}{space 1}    0.60{col 56}{space 3}0.546{col 64}{space 4}-.1721472{col 77}{space 3} .3244131
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0009744{col 36}{space 2} .0021244{col 47}{space 1}    0.46{col 56}{space 3}0.647{col 64}{space 4}-.0032114{col 77}{space 3} .0051602
{txt}{space 16}yr_dva {c |}{col 24}{res}{space 2}-.0027261{col 36}{space 2} .0034745{col 47}{space 1}   -0.78{col 56}{space 3}0.433{col 64}{space 4} -.009572{col 77}{space 3} .0041197
{txt}{space 15}emp_dva {c |}{col 24}{res}{space 2}-.0007457{col 36}{space 2} .0006333{col 47}{space 1}   -1.18{col 56}{space 3}0.240{col 64}{space 4}-.0019935{col 77}{space 3}  .000502
{txt}{space 12}dva_yr_dum {c |}{col 24}{res}{space 2}-.0874414{col 36}{space 2} .1109111{col 47}{space 1}   -0.79{col 56}{space 3}0.431{col 64}{space 4}-.3059729{col 77}{space 3} .1310902
{txt}{space 11}dva_emp_dum {c |}{col 24}{res}{space 2}-.0146005{col 36}{space 2} .0612851{col 47}{space 1}   -0.24{col 56}{space 3}0.812{col 64}{space 4}-.1353525{col 77}{space 3} .1061514
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 5.963321{col 36}{space 2} 6.941188{col 47}{space 1}    0.86{col 56}{space 3}0.391{col 64}{space 4}-7.713122{col 77}{space 3} 19.63976
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $dvacontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row C (Mean Imputation)
.         reg $y d2 dT d2_dT $MIcontrol if agency == "hhs", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       420
                                                {txt}F(9, 230)         =  {res}     2.10
                                                {txt}Prob > F          = {res}    0.0303
                                                {txt}R-squared         = {res}    0.0373
                                                {txt}Root MSE          =    {res} .49379

{txt}{ralign 88:(Std. Err. adjusted for {res:231} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2333235{col 36}{space 2}  .071672{col 47}{space 1}   -3.26{col 56}{space 3}0.001{col 64}{space 4}-.3745412{col 77}{space 3}-.0921058
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0299044{col 36}{space 2} .0677002{col 47}{space 1}   -0.44{col 56}{space 3}0.659{col 64}{space 4}-.1632962{col 77}{space 3} .1034875
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2039976{col 36}{space 2} .0932039{col 47}{space 1}    2.19{col 56}{space 3}0.030{col 64}{space 4}  .020355{col 77}{space 3} .3876402
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .0134928{col 36}{space 2} .0733509{col 47}{space 1}    0.18{col 56}{space 3}0.854{col 64}{space 4}-.1310329{col 77}{space 3} .1580184
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .1408096{col 36}{space 2} .1297038{col 47}{space 1}    1.09{col 56}{space 3}0.279{col 64}{space 4}-.1147498{col 77}{space 3} .3963691
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}  .083495{col 36}{space 2} .1250254{col 47}{space 1}    0.67{col 56}{space 3}0.505{col 64}{space 4}-.1628465{col 77}{space 3} .3298364
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0010081{col 36}{space 2} .0021359{col 47}{space 1}    0.47{col 56}{space 3}0.637{col 64}{space 4}-.0032002{col 77}{space 3} .0052165
{txt}{space 8}yr_impute_mean {c |}{col 24}{res}{space 2}-.0027512{col 36}{space 2}  .003457{col 47}{space 1}   -0.80{col 56}{space 3}0.427{col 64}{space 4}-.0095626{col 77}{space 3} .0040603
{txt}{space 11}emp1_impute {c |}{col 24}{res}{space 2}-.0006695{col 36}{space 2} .0006136{col 47}{space 1}   -1.09{col 56}{space 3}0.276{col 64}{space 4}-.0018784{col 77}{space 3} .0005395
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 6.004057{col 36}{space 2} 6.908118{col 47}{space 1}    0.87{col 56}{space 3}0.386{col 64}{space 4}-7.607228{col 77}{space 3} 19.61534
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $MIcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row D (Limited SBIR controls)
.         reg $y d2 dT d2_dT $SBIRcontrol if agency == "hhs", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       420
                                                {txt}F(7, 230)         =  {res}     2.54
                                                {txt}Prob > F          = {res}    0.0156
                                                {txt}R-squared         = {res}    0.0345
                                                {txt}Root MSE          =    {res} .49331

{txt}{ralign 88:(Std. Err. adjusted for {res:231} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2435676{col 36}{space 2} .0691555{col 47}{space 1}   -3.52{col 56}{space 3}0.001{col 64}{space 4}-.3798269{col 77}{space 3}-.1073083
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0325666{col 36}{space 2} .0666049{col 47}{space 1}   -0.49{col 56}{space 3}0.625{col 64}{space 4}-.1638004{col 77}{space 3} .0986672
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2052831{col 36}{space 2} .0925515{col 47}{space 1}    2.22{col 56}{space 3}0.028{col 64}{space 4} .0229259{col 77}{space 3} .3876402
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .0154452{col 36}{space 2} .0728768{col 47}{space 1}    0.21{col 56}{space 3}0.832{col 64}{space 4}-.1281463{col 77}{space 3} .1590367
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .1423419{col 36}{space 2} .1274046{col 47}{space 1}    1.12{col 56}{space 3}0.265{col 64}{space 4}-.1086873{col 77}{space 3} .3933712
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .0855073{col 36}{space 2} .1252033{col 47}{space 1}    0.68{col 56}{space 3}0.495{col 64}{space 4}-.1611847{col 77}{space 3} .3321993
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0009282{col 36}{space 2} .0021384{col 47}{space 1}    0.43{col 56}{space 3}0.665{col 64}{space 4}-.0032852{col 77}{space 3} .0051416
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .5011167{col 36}{space 2} .0584505{col 47}{space 1}    8.57{col 56}{space 3}0.000{col 64}{space 4} .3859498{col 77}{space 3} .6162836
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $SBIRcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         
. ** Table 6: Column 3
.         drop if p1prior_capacity > 3
{txt}(172 observations deleted)
{com}.         * Row A
.         reg $y d2 dT d2_dT $ddcontrol if agency == "hhs", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       263
                                                {txt}F(9, 161)         =  {res}     1.84
                                                {txt}Prob > F          = {res}    0.0655
                                                {txt}R-squared         = {res}    0.0470
                                                {txt}Root MSE          =    {res} .49705

{txt}{ralign 88:(Std. Err. adjusted for {res:162} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2795221{col 36}{space 2} .0970891{col 47}{space 1}   -2.88{col 56}{space 3}0.005{col 64}{space 4}-.4712545{col 77}{space 3}-.0877897
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.1122269{col 36}{space 2} .0929946{col 47}{space 1}   -1.21{col 56}{space 3}0.229{col 64}{space 4}-.2958734{col 77}{space 3} .0714196
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2473199{col 36}{space 2} .1280469{col 47}{space 1}    1.93{col 56}{space 3}0.055{col 64}{space 4}-.0055481{col 77}{space 3} .5001879
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0172661{col 36}{space 2} .1031236{col 47}{space 1}   -0.17{col 56}{space 3}0.867{col 64}{space 4}-.2209154{col 77}{space 3} .1863833
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .1849171{col 36}{space 2} .1534537{col 47}{space 1}    1.21{col 56}{space 3}0.230{col 64}{space 4}-.1181245{col 77}{space 3} .4879588
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .1274094{col 36}{space 2} .1121655{col 47}{space 1}    1.14{col 56}{space 3}0.258{col 64}{space 4}-.0940959{col 77}{space 3} .3489147
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0014171{col 36}{space 2} .0027356{col 47}{space 1}    0.52{col 56}{space 3}0.605{col 64}{space 4}-.0039851{col 77}{space 3} .0068193
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}  -.00187{col 36}{space 2} .0035425{col 47}{space 1}   -0.53{col 56}{space 3}0.598{col 64}{space 4}-.0088658{col 77}{space 3} .0051258
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0007332{col 36}{space 2} .0005529{col 47}{space 1}   -1.33{col 56}{space 3}0.187{col 64}{space 4}-.0018251{col 77}{space 3} .0003587
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}  4.31722{col 36}{space 2} 7.069382{col 47}{space 1}    0.61{col 56}{space 3}0.542{col 64}{space 4}-9.643453{col 77}{space 3} 18.27789
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 3 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row B (Dummy Variable Analysis)
.         reg $y d2 dT d2_dT $dvacontrol if agency == "hhs", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       369
                                                {txt}F(11, 223)        =  {res}     1.84
                                                {txt}Prob > F          = {res}    0.0485
                                                {txt}R-squared         = {res}    0.0381
                                                {txt}Root MSE          =    {res}   .497

{txt}{ralign 88:(Std. Err. adjusted for {res:224} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2} -.226801{col 36}{space 2} .0804905{col 47}{space 1}   -2.82{col 56}{space 3}0.005{col 64}{space 4}-.3854202{col 77}{space 3}-.0681817
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0240227{col 36}{space 2} .0776422{col 47}{space 1}   -0.31{col 56}{space 3}0.757{col 64}{space 4} -.177029{col 77}{space 3} .1289835
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .1890507{col 36}{space 2}  .106095{col 47}{space 1}    1.78{col 56}{space 3}0.076{col 64}{space 4}-.0200263{col 77}{space 3} .3981277
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} -.013193{col 36}{space 2}  .088883{col 47}{space 1}   -0.15{col 56}{space 3}0.882{col 64}{space 4}-.1883512{col 77}{space 3} .1619651
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .1451141{col 36}{space 2} .1188489{col 47}{space 1}    1.22{col 56}{space 3}0.223{col 64}{space 4}-.0890965{col 77}{space 3} .3793247
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .0979337{col 36}{space 2} .1169374{col 47}{space 1}    0.84{col 56}{space 3}0.403{col 64}{space 4}  -.13251{col 77}{space 3} .3283774
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2}   .00083{col 36}{space 2} .0022437{col 47}{space 1}    0.37{col 56}{space 3}0.712{col 64}{space 4}-.0035915{col 77}{space 3} .0052516
{txt}{space 16}yr_dva {c |}{col 24}{res}{space 2}-.0026929{col 36}{space 2} .0036155{col 47}{space 1}   -0.74{col 56}{space 3}0.457{col 64}{space 4}-.0098179{col 77}{space 3} .0044321
{txt}{space 15}emp_dva {c |}{col 24}{res}{space 2}-.0006634{col 36}{space 2} .0005863{col 47}{space 1}   -1.13{col 56}{space 3}0.259{col 64}{space 4}-.0018189{col 77}{space 3} .0004921
{txt}{space 12}dva_yr_dum {c |}{col 24}{res}{space 2}-.0896968{col 36}{space 2} .1123305{col 47}{space 1}   -0.80{col 56}{space 3}0.425{col 64}{space 4} -.311062{col 77}{space 3} .1316684
{txt}{space 11}dva_emp_dum {c |}{col 24}{res}{space 2}-.0261146{col 36}{space 2} .0635367{col 47}{space 1}   -0.41{col 56}{space 3}0.681{col 64}{space 4}-.1513238{col 77}{space 3} .0990946
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 5.912013{col 36}{space 2} 7.217146{col 47}{space 1}    0.82{col 56}{space 3}0.414{col 64}{space 4}-8.310521{col 77}{space 3} 20.13455
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $dvacontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 3 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row C (Mean Imputation)
.         reg $y d2 dT d2_dT $MIcontrol if agency == "hhs", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       369
                                                {txt}F(9, 223)         =  {res}     1.89
                                                {txt}Prob > F          = {res}    0.0548
                                                {txt}R-squared         = {res}    0.0350
                                                {txt}Root MSE          =    {res} .49642

{txt}{ralign 88:(Std. Err. adjusted for {res:224} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2254772{col 36}{space 2} .0813363{col 47}{space 1}   -2.77{col 56}{space 3}0.006{col 64}{space 4}-.3857633{col 77}{space 3}-.0651912
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0271328{col 36}{space 2} .0765591{col 47}{space 1}   -0.35{col 56}{space 3}0.723{col 64}{space 4}-.1780046{col 77}{space 3}  .123739
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2012248{col 36}{space 2} .1041511{col 47}{space 1}    1.93{col 56}{space 3}0.055{col 64}{space 4}-.0040215{col 77}{space 3} .4064711
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0180059{col 36}{space 2} .0875591{col 47}{space 1}   -0.21{col 56}{space 3}0.837{col 64}{space 4} -.190555{col 77}{space 3} .1545433
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .1371276{col 36}{space 2} .1276422{col 47}{space 1}    1.07{col 56}{space 3}0.284{col 64}{space 4}-.1144117{col 77}{space 3} .3886669
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}  .109117{col 36}{space 2}  .116517{col 47}{space 1}    0.94{col 56}{space 3}0.350{col 64}{space 4}-.1204982{col 77}{space 3} .3387322
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0008793{col 36}{space 2} .0022543{col 47}{space 1}    0.39{col 56}{space 3}0.697{col 64}{space 4}-.0035631{col 77}{space 3} .0053217
{txt}{space 8}yr_impute_mean {c |}{col 24}{res}{space 2} -.002845{col 36}{space 2} .0035943{col 47}{space 1}   -0.79{col 56}{space 3}0.429{col 64}{space 4}-.0099282{col 77}{space 3} .0042382
{txt}{space 11}emp1_impute {c |}{col 24}{res}{space 2}-.0005674{col 36}{space 2} .0005658{col 47}{space 1}   -1.00{col 56}{space 3}0.317{col 64}{space 4}-.0016823{col 77}{space 3} .0005476
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 6.200693{col 36}{space 2} 7.177685{col 47}{space 1}    0.86{col 56}{space 3}0.389{col 64}{space 4}-7.944075{col 77}{space 3} 20.34546
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $MIcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 3 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row D (Limited SBIR controls)
.         reg $y d2 dT d2_dT $SBIRcontrol if agency == "hhs", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       369
                                                {txt}F(7, 223)         =  {res}     2.32
                                                {txt}Prob > F          = {res}    0.0265
                                                {txt}R-squared         = {res}    0.0322
                                                {txt}Root MSE          =    {res} .49577

{txt}{ralign 88:(Std. Err. adjusted for {res:224} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2389022{col 36}{space 2}  .076874{col 47}{space 1}   -3.11{col 56}{space 3}0.002{col 64}{space 4}-.3903946{col 77}{space 3}-.0874097
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0313524{col 36}{space 2} .0745232{col 47}{space 1}   -0.42{col 56}{space 3}0.674{col 64}{space 4}-.1782122{col 77}{space 3} .1155073
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2043758{col 36}{space 2} .1031866{col 47}{space 1}    1.98{col 56}{space 3}0.049{col 64}{space 4} .0010302{col 77}{space 3} .4077214
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} -.015947{col 36}{space 2} .0866077{col 47}{space 1}   -0.18{col 56}{space 3}0.854{col 64}{space 4}-.1866213{col 77}{space 3} .1547273
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}  .137113{col 36}{space 2} .1247503{col 47}{space 1}    1.10{col 56}{space 3}0.273{col 64}{space 4}-.1087273{col 77}{space 3} .3829534
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .1077632{col 36}{space 2} .1166347{col 47}{space 1}    0.92{col 56}{space 3}0.357{col 64}{space 4}-.1220841{col 77}{space 3} .3376105
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0007958{col 36}{space 2} .0022503{col 47}{space 1}    0.35{col 56}{space 3}0.724{col 64}{space 4}-.0036387{col 77}{space 3} .0052303
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}  .513027{col 36}{space 2} .0675745{col 47}{space 1}    7.59{col 56}{space 3}0.000{col 64}{space 4} .3798608{col 77}{space 3} .6461932
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $SBIRcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 3 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         
. ** Table 6: Column 4
.         drop if p1prior_capacity > 1
{txt}(271 observations deleted)
{com}.         * Row A
.         reg $y d2 dT d2_dT $ddcontrol if agency == "nsf", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}        88
                                                {txt}{help j_robustsingular:F(8, 73) }         =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1591
                                                {txt}Root MSE          =    {res} .47889

{txt}{ralign 88:(Std. Err. adjusted for {res:74} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.4879434{col 36}{space 2}  .161431{col 47}{space 1}   -3.02{col 56}{space 3}0.003{col 64}{space 4} -.809675{col 77}{space 3}-.1662119
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.2580179{col 36}{space 2} .1720336{col 47}{space 1}   -1.50{col 56}{space 3}0.138{col 64}{space 4}-.6008804{col 77}{space 3} .0848446
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2}  .536488{col 36}{space 2} .2231251{col 47}{space 1}    2.40{col 56}{space 3}0.019{col 64}{space 4} .0918002{col 77}{space 3} .9811758
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1768018{col 36}{space 2} .2034151{col 47}{space 1}   -0.87{col 56}{space 3}0.388{col 64}{space 4}-.5822075{col 77}{space 3} .2286039
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}-.0674328{col 36}{space 2} .2259843{col 47}{space 1}   -0.30{col 56}{space 3}0.766{col 64}{space 4}-.5178188{col 77}{space 3} .3829532
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .6906038{col 36}{space 2} .1746053{col 47}{space 1}    3.96{col 56}{space 3}0.000{col 64}{space 4}  .342616{col 77}{space 3} 1.038592
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0080154{col 36}{space 2}  .003795{col 47}{space 1}    2.11{col 56}{space 3}0.038{col 64}{space 4}  .000452{col 77}{space 3} .0155788
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2} .0186515{col 36}{space 2} .0155636{col 47}{space 1}    1.20{col 56}{space 3}0.235{col 64}{space 4}-.0123667{col 77}{space 3} .0496696
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2} .0010978{col 36}{space 2} .0038277{col 47}{space 1}    0.29{col 56}{space 3}0.775{col 64}{space 4}-.0065308{col 77}{space 3} .0087263
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-36.83079{col 36}{space 2} 31.13705{col 47}{space 1}   -1.18{col 56}{space 3}0.241{col 64}{space 4}-98.88685{col 77}{space 3} 25.22527
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF 1 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row B (Dummy Variable Analysis)
.         reg $y d2 dT d2_dT $dvacontrol if agency == "nsf", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       112
                                                {txt}{help j_robustsingular:F(10, 96) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1601
                                                {txt}Root MSE          =    {res}  .4717

{txt}{ralign 88:(Std. Err. adjusted for {res:97} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.4166942{col 36}{space 2} .1328477{col 47}{space 1}   -3.14{col 56}{space 3}0.002{col 64}{space 4}-.6803949{col 77}{space 3}-.1529936
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.1392164{col 36}{space 2} .1145549{col 47}{space 1}   -1.22{col 56}{space 3}0.227{col 64}{space 4} -.366606{col 77}{space 3} .0881732
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .3791179{col 36}{space 2}  .180758{col 47}{space 1}    2.10{col 56}{space 3}0.039{col 64}{space 4}  .020316{col 77}{space 3} .7379197
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.2854696{col 36}{space 2} .1295079{col 47}{space 1}   -2.20{col 56}{space 3}0.030{col 64}{space 4}-.5425408{col 77}{space 3}-.0283985
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}-.0863894{col 36}{space 2} .2295634{col 47}{space 1}   -0.38{col 56}{space 3}0.708{col 64}{space 4}-.5420691{col 77}{space 3} .3692904
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .5691867{col 36}{space 2} .0864794{col 47}{space 1}    6.58{col 56}{space 3}0.000{col 64}{space 4} .3975265{col 77}{space 3} .7408469
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0068305{col 36}{space 2} .0033479{col 47}{space 1}    2.04{col 56}{space 3}0.044{col 64}{space 4} .0001849{col 77}{space 3} .0134761
{txt}{space 16}yr_dva {c |}{col 24}{res}{space 2} .0036654{col 36}{space 2} .0021179{col 47}{space 1}    1.73{col 56}{space 3}0.087{col 64}{space 4}-.0005385{col 77}{space 3} .0078694
{txt}{space 15}emp_dva {c |}{col 24}{res}{space 2} -.002034{col 36}{space 2} .0026651{col 47}{space 1}   -0.76{col 56}{space 3}0.447{col 64}{space 4}-.0073241{col 77}{space 3} .0032561
{txt}{space 12}dva_yr_dum {c |}{col 24}{res}{space 2} -.243068{col 36}{space 2}  .180359{col 47}{space 1}   -1.35{col 56}{space 3}0.181{col 64}{space 4}-.6010778{col 77}{space 3} .1149417
{txt}{space 11}dva_emp_dum {c |}{col 24}{res}{space 2}-.1213357{col 36}{space 2} .1288264{col 47}{space 1}   -0.94{col 56}{space 3}0.349{col 64}{space 4}-.3770541{col 77}{space 3} .1343828
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-6.809045{col 36}{space 2} 4.253024{col 47}{space 1}   -1.60{col 56}{space 3}0.113{col 64}{space 4}-15.25123{col 77}{space 3} 1.633141
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $dvacontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF 1 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row C (Mean Imputation)
.         reg $y d2 dT d2_dT $MIcontrol if agency == "nsf", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       112
                                                {txt}{help j_robustsingular:F(8, 96) }         =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1347
                                                {txt}Root MSE          =    {res} .47407

{txt}{ralign 88:(Std. Err. adjusted for {res:97} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.3415234{col 36}{space 2} .1327865{col 47}{space 1}   -2.57{col 56}{space 3}0.012{col 64}{space 4}-.6051024{col 77}{space 3}-.0779443
{txt}{space 20}dT {c |}{col 24}{res}{space 2} -.125057{col 36}{space 2} .1182728{col 47}{space 1}   -1.06{col 56}{space 3}0.293{col 64}{space 4}-.3598266{col 77}{space 3} .1097126
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .3558095{col 36}{space 2} .1830052{col 47}{space 1}    1.94{col 56}{space 3}0.055{col 64}{space 4} -.007453{col 77}{space 3}  .719072
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.3140971{col 36}{space 2} .1300931{col 47}{space 1}   -2.41{col 56}{space 3}0.018{col 64}{space 4}-.5723299{col 77}{space 3}-.0558644
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}-.0665459{col 36}{space 2} .2246491{col 47}{space 1}   -0.30{col 56}{space 3}0.768{col 64}{space 4}-.5124708{col 77}{space 3} .3793789
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .5921365{col 36}{space 2} .0835879{col 47}{space 1}    7.08{col 56}{space 3}0.000{col 64}{space 4} .4262158{col 77}{space 3} .7580573
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0070325{col 36}{space 2} .0033839{col 47}{space 1}    2.08{col 56}{space 3}0.040{col 64}{space 4} .0003156{col 77}{space 3} .0137494
{txt}{space 8}yr_impute_mean {c |}{col 24}{res}{space 2} .0046392{col 36}{space 2} .0021891{col 47}{space 1}    2.12{col 56}{space 3}0.037{col 64}{space 4} .0002938{col 77}{space 3} .0089846
{txt}{space 11}emp1_impute {c |}{col 24}{res}{space 2}-.0010996{col 36}{space 2} .0024434{col 47}{space 1}   -0.45{col 56}{space 3}0.654{col 64}{space 4}-.0059496{col 77}{space 3} .0037504
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-8.845565{col 36}{space 2} 4.381487{col 47}{space 1}   -2.02{col 56}{space 3}0.046{col 64}{space 4}-17.54275{col 77}{space 3}-.1483816
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $MIcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF 1 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row D (Limited SBIR controls)
.         reg $y d2 dT d2_dT $SBIRcontrol if agency == "nsf", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       112
                                                {txt}{help j_robustsingular:F(6, 96) }         =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1192
                                                {txt}Root MSE          =    {res} .47367

{txt}{ralign 88:(Std. Err. adjusted for {res:97} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.3048709{col 36}{space 2} .1338257{col 47}{space 1}   -2.28{col 56}{space 3}0.025{col 64}{space 4}-.5705129{col 77}{space 3} -.039229
{txt}{space 20}dT {c |}{col 24}{res}{space 2} -.142034{col 36}{space 2} .1159245{col 47}{space 1}   -1.23{col 56}{space 3}0.223{col 64}{space 4}-.3721422{col 77}{space 3} .0880742
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .3418002{col 36}{space 2} .1779686{col 47}{space 1}    1.92{col 56}{space 3}0.058{col 64}{space 4}-.0114647{col 77}{space 3} .6950651
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.2978963{col 36}{space 2} .1280109{col 47}{space 1}   -2.33{col 56}{space 3}0.022{col 64}{space 4}-.5519959{col 77}{space 3}-.0437966
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}-.0492029{col 36}{space 2} .2298203{col 47}{space 1}   -0.21{col 56}{space 3}0.831{col 64}{space 4}-.5053926{col 77}{space 3} .4069868
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .5800373{col 36}{space 2} .0876314{col 47}{space 1}    6.62{col 56}{space 3}0.000{col 64}{space 4} .4060904{col 77}{space 3} .7539843
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0077629{col 36}{space 2} .0033339{col 47}{space 1}    2.33{col 56}{space 3}0.022{col 64}{space 4} .0011451{col 77}{space 3} .0143806
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .4086244{col 36}{space 2} .0889264{col 47}{space 1}    4.60{col 56}{space 3}0.000{col 64}{space 4} .2321069{col 77}{space 3} .5851418
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $SBIRcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF 1 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}. restore
. {c )-}
{txt}
{com}. ********************************************************************************
. ** Table 7 Sensitivity Analysis: Marginal Model
. {c -(}
. global y phase2
. global controls WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year
. global x c.smp1amt_pd_10k
. ** Table 7, Column 1
. preserve
.         
.         * Data prep
.         ** Complete Case Analysis
.                 global cca_control WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year 
.         ** code for DVA: recode yr_est = p1year & Emp = 1; include dummy variable for missing
.                 gen emp_dva = Emp_p1year
{txt}(386 missing values generated)
{com}.                 recode emp_dva (.=1)
{txt}(emp_dva: 386 changes made)
{com}.                 gen dva_emp_dum = 1 if Emp_p1year ==.
{txt}(2,036 missing values generated)
{com}.                 recode dva_emp_dum (.=0)
{txt}(dva_emp_dum: 2036 changes made)
{com}.                 gen yr_dva = yr_est_full
{txt}(76 missing values generated)
{com}.                 replace yr_dva = p1year if yr_est_full == .
{txt}(76 real changes made)
{com}.                 gen dva_yr_dum = 1 if yr_est_full ==.
{txt}(2,346 missing values generated)
{com}.                 recode dva_yr_dum (.=0)
{txt}(dva_yr_dum: 2346 changes made)
{com}.                 global dvacontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_dva emp_dva dva_yr_dum dva_emp_dum
.         ** Mean Imputation
.                 gen yr_impute_mean = yr_est_full
{txt}(76 missing values generated)
{com}.                 replace yr_impute_mean = p1year - 6 if yr_est_full == .
{txt}(76 real changes made)
{com}.                 global MIcontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_impute_mean emp1_impute
.         ** Remove incomplete data (remove NETS)
.                 global SBIRcontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual
.         * control_set in cca_control dvacontrol MIcontrol SBIRcontrol
.                 global controls WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_impute_mean emp1_impute
. 
.         * Row A
.         reg $y $x $ddcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       182
                                                {txt}F(7, 133)         =  {res}     1.01
                                                {txt}Prob > F          = {res}    0.4305
                                                {txt}R-squared         = {res}    0.0177
                                                {txt}Root MSE          =    {res} .50485

{txt}{ralign 88:(Std. Err. adjusted for {res:134} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0163938{col 36}{space 2} .0159074{col 47}{space 1}    1.03{col 56}{space 3}0.305{col 64}{space 4}-.0150704{col 77}{space 3} .0478579
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0101074{col 36}{space 2}   .14219{col 47}{space 1}   -0.07{col 56}{space 3}0.943{col 64}{space 4}-.2913538{col 77}{space 3}  .271139
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .0768408{col 36}{space 2} .1776564{col 47}{space 1}    0.43{col 56}{space 3}0.666{col 64}{space 4}-.2745567{col 77}{space 3} .4282384
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.2948385{col 36}{space 2} .1282414{col 47}{space 1}   -2.30{col 56}{space 3}0.023{col 64}{space 4} -.548495{col 77}{space 3} -.041182
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0004807{col 36}{space 2} .0029307{col 47}{space 1}    0.16{col 56}{space 3}0.870{col 64}{space 4}-.0053162{col 77}{space 3} .0062776
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2} .0014155{col 36}{space 2} .0072216{col 47}{space 1}    0.20{col 56}{space 3}0.845{col 64}{space 4}-.0128686{col 77}{space 3} .0156996
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2} .0011217{col 36}{space 2} .0032824{col 47}{space 1}    0.34{col 56}{space 3}0.733{col 64}{space 4}-.0053707{col 77}{space 3} .0076141
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-2.504153{col 36}{space 2} 14.45671{col 47}{space 1}   -0.17{col 56}{space 3}0.863{col 64}{space 4}-31.09897{col 77}{space 3} 26.09067
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) replace addtext(Sample, Full) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row B (Dummy Variable Analysis)
.         reg $y $x $dvacontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       224
                                                {txt}F(9, 155)         =  {res}     1.08
                                                {txt}Prob > F          = {res}    0.3838
                                                {txt}R-squared         = {res}    0.0229
                                                {txt}Root MSE          =    {res} .50402

{txt}{ralign 88:(Std. Err. adjusted for {res:156} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0195931{col 36}{space 2}  .015108{col 47}{space 1}    1.30{col 56}{space 3}0.197{col 64}{space 4} -.010251{col 77}{space 3} .0494371
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} -.017609{col 36}{space 2} .1393262{col 47}{space 1}   -0.13{col 56}{space 3}0.900{col 64}{space 4}-.2928321{col 77}{space 3} .2576141
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .0946248{col 36}{space 2} .1756235{col 47}{space 1}    0.54{col 56}{space 3}0.591{col 64}{space 4}-.2522996{col 77}{space 3} .4415492
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.1862268{col 36}{space 2} .1061366{col 47}{space 1}   -1.75{col 56}{space 3}0.081{col 64}{space 4}-.3958876{col 77}{space 3}  .023434
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0005921{col 36}{space 2} .0027008{col 47}{space 1}    0.22{col 56}{space 3}0.827{col 64}{space 4}-.0047431{col 77}{space 3} .0059272
{txt}{space 16}yr_dva {c |}{col 24}{res}{space 2}-.0015532{col 36}{space 2} .0013871{col 47}{space 1}   -1.12{col 56}{space 3}0.265{col 64}{space 4}-.0042932{col 77}{space 3} .0011868
{txt}{space 15}emp_dva {c |}{col 24}{res}{space 2} .0007478{col 36}{space 2} .0030728{col 47}{space 1}    0.24{col 56}{space 3}0.808{col 64}{space 4}-.0053221{col 77}{space 3} .0068178
{txt}{space 12}dva_yr_dum {c |}{col 24}{res}{space 2}-.2711882{col 36}{space 2}  .197666{col 47}{space 1}   -1.37{col 56}{space 3}0.172{col 64}{space 4}-.6616552{col 77}{space 3} .1192787
{txt}{space 11}dva_emp_dum {c |}{col 24}{res}{space 2} .0450368{col 36}{space 2} .0977022{col 47}{space 1}    0.46{col 56}{space 3}0.645{col 64}{space 4}-.1479629{col 77}{space 3} .2380364
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 3.412995{col 36}{space 2} 2.759816{col 47}{space 1}    1.24{col 56}{space 3}0.218{col 64}{space 4}-2.038709{col 77}{space 3}   8.8647
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, Full) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row C (Mean Imputation)
.         reg $y $x $MIcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       224
                                                {txt}F(7, 155)         =  {res}     1.03
                                                {txt}Prob > F          = {res}    0.4152
                                                {txt}R-squared         = {res}    0.0161
                                                {txt}Root MSE          =    {res} .50342

{txt}{ralign 88:(Std. Err. adjusted for {res:156} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0209164{col 36}{space 2} .0147335{col 47}{space 1}    1.42{col 56}{space 3}0.158{col 64}{space 4} -.008188{col 77}{space 3} .0500209
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} -.031831{col 36}{space 2} .1404444{col 47}{space 1}   -0.23{col 56}{space 3}0.821{col 64}{space 4}-.3092631{col 77}{space 3} .2456011
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .0940264{col 36}{space 2} .1742013{col 47}{space 1}    0.54{col 56}{space 3}0.590{col 64}{space 4}-.2500886{col 77}{space 3} .4381415
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.1864958{col 36}{space 2} .1069028{col 47}{space 1}   -1.74{col 56}{space 3}0.083{col 64}{space 4}-.3976701{col 77}{space 3} .0246785
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0007696{col 36}{space 2} .0027264{col 47}{space 1}    0.28{col 56}{space 3}0.778{col 64}{space 4}-.0046161{col 77}{space 3} .0061553
{txt}{space 8}yr_impute_mean {c |}{col 24}{res}{space 2}-.0018061{col 36}{space 2} .0013953{col 47}{space 1}   -1.29{col 56}{space 3}0.197{col 64}{space 4}-.0045624{col 77}{space 3} .0009502
{txt}{space 11}emp1_impute {c |}{col 24}{res}{space 2} -.000123{col 36}{space 2} .0028057{col 47}{space 1}   -0.04{col 56}{space 3}0.965{col 64}{space 4}-.0056653{col 77}{space 3} .0054194
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 3.915365{col 36}{space 2} 2.782127{col 47}{space 1}    1.41{col 56}{space 3}0.161{col 64}{space 4}-1.580412{col 77}{space 3} 9.411142
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, Full) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row D (Limited SBIR controls)
.         reg $y $x $SBIRcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       224
                                                {txt}F(5, 155)         =  {res}     1.04
                                                {txt}Prob > F          = {res}    0.3955
                                                {txt}R-squared         = {res}    0.0138
                                                {txt}Root MSE          =    {res} .50169

{txt}{ralign 88:(Std. Err. adjusted for {res:156} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2}  .021147{col 36}{space 2} .0147184{col 47}{space 1}    1.44{col 56}{space 3}0.153{col 64}{space 4}-.0079277{col 77}{space 3} .0502216
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0332671{col 36}{space 2} .1385582{col 47}{space 1}   -0.24{col 56}{space 3}0.811{col 64}{space 4}-.3069731{col 77}{space 3}  .240439
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .0862198{col 36}{space 2} .1712535{col 47}{space 1}    0.50{col 56}{space 3}0.615{col 64}{space 4}-.2520722{col 77}{space 3} .4245118
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.1873332{col 36}{space 2} .1048388{col 47}{space 1}   -1.79{col 56}{space 3}0.076{col 64}{space 4}-.3944304{col 77}{space 3}  .019764
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0005705{col 36}{space 2} .0026926{col 47}{space 1}    0.21{col 56}{space 3}0.832{col 64}{space 4}-.0047485{col 77}{space 3} .0058895
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .3023583{col 36}{space 2} .1348552{col 47}{space 1}    2.24{col 56}{space 3}0.026{col 64}{space 4}  .035967{col 77}{space 3} .5687496
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, Full) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}. 
. ** Table 7: Column 2
.         drop if p1prior_capacity > 9
{txt}(741 observations deleted)
{com}.         * Row A
.         reg $y $x $ddcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       163
                                                {txt}F(7, 128)         =  {res}     1.93
                                                {txt}Prob > F          = {res}    0.0693
                                                {txt}R-squared         = {res}    0.0412
                                                {txt}Root MSE          =    {res} .50047

{txt}{ralign 88:(Std. Err. adjusted for {res:129} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0290536{col 36}{space 2} .0169268{col 47}{space 1}    1.72{col 56}{space 3}0.089{col 64}{space 4} -.004439{col 77}{space 3} .0625462
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1661119{col 36}{space 2} .1091224{col 47}{space 1}   -1.52{col 56}{space 3}0.130{col 64}{space 4}-.3820291{col 77}{space 3} .0498053
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .0834281{col 36}{space 2} .1757983{col 47}{space 1}    0.47{col 56}{space 3}0.636{col 64}{space 4} -.264419{col 77}{space 3} .4312751
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} -.330744{col 36}{space 2} .1153671{col 47}{space 1}   -2.87{col 56}{space 3}0.005{col 64}{space 4}-.5590174{col 77}{space 3}-.1024706
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0006499{col 36}{space 2} .0030462{col 47}{space 1}    0.21{col 56}{space 3}0.831{col 64}{space 4}-.0053774{col 77}{space 3} .0066773
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0025275{col 36}{space 2} .0086628{col 47}{space 1}   -0.29{col 56}{space 3}0.771{col 64}{space 4}-.0196683{col 77}{space 3} .0146133
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0001321{col 36}{space 2} .0034641{col 47}{space 1}   -0.04{col 56}{space 3}0.970{col 64}{space 4}-.0069865{col 77}{space 3} .0067223
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 5.331038{col 36}{space 2} 17.37755{col 47}{space 1}    0.31{col 56}{space 3}0.760{col 64}{space 4}-29.05341{col 77}{space 3} 39.71549
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, 9 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row B (Dummy Variable Analysis)
.         reg $y $x $dvacontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       200
                                                {txt}F(9, 149)         =  {res}     1.81
                                                {txt}Prob > F          = {res}    0.0704
                                                {txt}R-squared         = {res}    0.0454
                                                {txt}Root MSE          =    {res} .49919

{txt}{ralign 88:(Std. Err. adjusted for {res:150} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0330867{col 36}{space 2} .0153109{col 47}{space 1}    2.16{col 56}{space 3}0.032{col 64}{space 4} .0028321{col 77}{space 3} .0633413
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1761974{col 36}{space 2} .1014867{col 47}{space 1}   -1.74{col 56}{space 3}0.085{col 64}{space 4}-.3767364{col 77}{space 3} .0243416
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .0879168{col 36}{space 2} .1714033{col 47}{space 1}    0.51{col 56}{space 3}0.609{col 64}{space 4}-.2507784{col 77}{space 3}  .426612
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.2073887{col 36}{space 2} .1010027{col 47}{space 1}   -2.05{col 56}{space 3}0.042{col 64}{space 4}-.4069713{col 77}{space 3} -.007806
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2}  .000167{col 36}{space 2} .0027975{col 47}{space 1}    0.06{col 56}{space 3}0.952{col 64}{space 4}-.0053608{col 77}{space 3} .0056949
{txt}{space 16}yr_dva {c |}{col 24}{res}{space 2}-.0020139{col 36}{space 2} .0012254{col 47}{space 1}   -1.64{col 56}{space 3}0.102{col 64}{space 4}-.0044352{col 77}{space 3} .0004075
{txt}{space 15}emp_dva {c |}{col 24}{res}{space 2} .0000758{col 36}{space 2}  .003158{col 47}{space 1}    0.02{col 56}{space 3}0.981{col 64}{space 4}-.0061644{col 77}{space 3}  .006316
{txt}{space 12}dva_yr_dum {c |}{col 24}{res}{space 2}-.1921836{col 36}{space 2} .1946664{col 47}{space 1}   -0.99{col 56}{space 3}0.325{col 64}{space 4}-.5768469{col 77}{space 3} .1924798
{txt}{space 11}dva_emp_dum {c |}{col 24}{res}{space 2}-.0473093{col 36}{space 2}  .095231{col 47}{space 1}   -0.50{col 56}{space 3}0.620{col 64}{space 4} -.235487{col 77}{space 3} .1408684
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 4.278445{col 36}{space 2} 2.441938{col 47}{space 1}    1.75{col 56}{space 3}0.082{col 64}{space 4}-.5468558{col 77}{space 3} 9.103747
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, 9 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row C (Mean Imputation)
.         reg $y $x $MIcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       200
                                                {txt}F(7, 149)         =  {res}     2.40
                                                {txt}Prob > F          = {res}    0.0234
                                                {txt}R-squared         = {res}    0.0398
                                                {txt}Root MSE          =    {res} .49801

{txt}{ralign 88:(Std. Err. adjusted for {res:150} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0330185{col 36}{space 2} .0152628{col 47}{space 1}    2.16{col 56}{space 3}0.032{col 64}{space 4}  .002859{col 77}{space 3} .0631779
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1718786{col 36}{space 2} .1012102{col 47}{space 1}   -1.70{col 56}{space 3}0.092{col 64}{space 4}-.3718712{col 77}{space 3}  .028114
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}  .102869{col 36}{space 2} .1702962{col 47}{space 1}    0.60{col 56}{space 3}0.547{col 64}{space 4}-.2336386{col 77}{space 3} .4393767
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.2045901{col 36}{space 2}  .097826{col 47}{space 1}   -2.09{col 56}{space 3}0.038{col 64}{space 4}-.3978955{col 77}{space 3}-.0112847
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0005691{col 36}{space 2} .0028643{col 47}{space 1}    0.20{col 56}{space 3}0.843{col 64}{space 4}-.0050908{col 77}{space 3}  .006229
{txt}{space 8}yr_impute_mean {c |}{col 24}{res}{space 2}-.0022622{col 36}{space 2} .0010939{col 47}{space 1}   -2.07{col 56}{space 3}0.040{col 64}{space 4}-.0044237{col 77}{space 3}-.0001007
{txt}{space 11}emp1_impute {c |}{col 24}{res}{space 2} -.001338{col 36}{space 2} .0029846{col 47}{space 1}   -0.45{col 56}{space 3}0.655{col 64}{space 4}-.0072356{col 77}{space 3} .0045597
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 4.763534{col 36}{space 2} 2.181193{col 47}{space 1}    2.18{col 56}{space 3}0.031{col 64}{space 4} .4534685{col 77}{space 3} 9.073599
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, 9 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row D (Limited SBIR controls)
.         reg $y $x $SBIRcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       200
                                                {txt}F(5, 149)         =  {res}     2.23
                                                {txt}Prob > F          = {res}    0.0544
                                                {txt}R-squared         = {res}    0.0359
                                                {txt}Root MSE          =    {res} .49646

{txt}{ralign 88:(Std. Err. adjusted for {res:150} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0332861{col 36}{space 2} .0152175{col 47}{space 1}    2.19{col 56}{space 3}0.030{col 64}{space 4} .0032162{col 77}{space 3}  .063356
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1679518{col 36}{space 2} .0996174{col 47}{space 1}   -1.69{col 56}{space 3}0.094{col 64}{space 4}-.3647972{col 77}{space 3} .0288936
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .1016618{col 36}{space 2} .1676431{col 47}{space 1}    0.61{col 56}{space 3}0.545{col 64}{space 4}-.2296031{col 77}{space 3} .4329268
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.1987918{col 36}{space 2} .0964495{col 47}{space 1}   -2.06{col 56}{space 3}0.041{col 64}{space 4}-.3893773{col 77}{space 3}-.0082062
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0003961{col 36}{space 2} .0028506{col 47}{space 1}    0.14{col 56}{space 3}0.890{col 64}{space 4}-.0052367{col 77}{space 3}  .006029
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .2257995{col 36}{space 2}  .142374{col 47}{space 1}    1.59{col 56}{space 3}0.115{col 64}{space 4}-.0555335{col 77}{space 3} .5071325
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, 9 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         
. ** Table 7: Column 3
.         drop if p1prior_capacity > 5
{txt}(238 observations deleted)
{com}.         * Row A
.         reg $y $x $ddcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       152
                                                {txt}F(7, 123)         =  {res}     2.31
                                                {txt}Prob > F          = {res}    0.0299
                                                {txt}R-squared         = {res}    0.0550
                                                {txt}Root MSE          =    {res} .49781

{txt}{ralign 88:(Std. Err. adjusted for {res:124} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0377939{col 36}{space 2} .0177721{col 47}{space 1}    2.13{col 56}{space 3}0.035{col 64}{space 4} .0026151{col 77}{space 3} .0729728
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1657812{col 36}{space 2} .1099004{col 47}{space 1}   -1.51{col 56}{space 3}0.134{col 64}{space 4}-.3833223{col 77}{space 3} .0517598
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .1102892{col 36}{space 2} .1734423{col 47}{space 1}    0.64{col 56}{space 3}0.526{col 64}{space 4}-.2330293{col 77}{space 3} .4536077
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.3311223{col 36}{space 2} .1128055{col 47}{space 1}   -2.94{col 56}{space 3}0.004{col 64}{space 4}-.5544139{col 77}{space 3}-.1078306
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0009768{col 36}{space 2} .0031756{col 47}{space 1}    0.31{col 56}{space 3}0.759{col 64}{space 4}-.0053092{col 77}{space 3} .0072628
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0034936{col 36}{space 2}  .008918{col 47}{space 1}   -0.39{col 56}{space 3}0.696{col 64}{space 4}-.0211462{col 77}{space 3}  .014159
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2} -.000122{col 36}{space 2} .0035276{col 47}{space 1}   -0.03{col 56}{space 3}0.972{col 64}{space 4}-.0071048{col 77}{space 3} .0068607
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 7.194094{col 36}{space 2} 17.90054{col 47}{space 1}    0.40{col 56}{space 3}0.688{col 64}{space 4}-28.23892{col 77}{space 3} 42.62711
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row B (Dummy Variable Analysis)
.         reg $y $x $dvacontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       185
                                                {txt}F(9, 145)         =  {res}     2.01
                                                {txt}Prob > F          = {res}    0.0425
                                                {txt}R-squared         = {res}    0.0551
                                                {txt}Root MSE          =    {res} .49708

{txt}{ralign 88:(Std. Err. adjusted for {res:146} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0379695{col 36}{space 2} .0157917{col 47}{space 1}    2.40{col 56}{space 3}0.017{col 64}{space 4} .0067578{col 77}{space 3} .0691813
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1809838{col 36}{space 2} .1015535{col 47}{space 1}   -1.78{col 56}{space 3}0.077{col 64}{space 4}-.3817003{col 77}{space 3} .0197326
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .0966083{col 36}{space 2} .1707399{col 47}{space 1}    0.57{col 56}{space 3}0.572{col 64}{space 4}-.2408522{col 77}{space 3} .4340688
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} -.201165{col 36}{space 2} .1002727{col 47}{space 1}   -2.01{col 56}{space 3}0.047{col 64}{space 4}  -.39935{col 77}{space 3}-.0029801
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2}-.0001268{col 36}{space 2} .0029504{col 47}{space 1}   -0.04{col 56}{space 3}0.966{col 64}{space 4}-.0059581{col 77}{space 3} .0057045
{txt}{space 16}yr_dva {c |}{col 24}{res}{space 2}-.0022148{col 36}{space 2} .0012318{col 47}{space 1}   -1.80{col 56}{space 3}0.074{col 64}{space 4}-.0046494{col 77}{space 3} .0002198
{txt}{space 15}emp_dva {c |}{col 24}{res}{space 2} .0002223{col 36}{space 2} .0031955{col 47}{space 1}    0.07{col 56}{space 3}0.945{col 64}{space 4}-.0060935{col 77}{space 3}  .006538
{txt}{space 12}dva_yr_dum {c |}{col 24}{res}{space 2}-.1553797{col 36}{space 2} .1991998{col 47}{space 1}   -0.78{col 56}{space 3}0.437{col 64}{space 4}-.5490901{col 77}{space 3} .2383307
{txt}{space 11}dva_emp_dum {c |}{col 24}{res}{space 2}-.0875675{col 36}{space 2}  .104135{col 47}{space 1}   -0.84{col 56}{space 3}0.402{col 64}{space 4}-.2933862{col 77}{space 3} .1182511
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 4.648687{col 36}{space 2} 2.459975{col 47}{space 1}    1.89{col 56}{space 3}0.061{col 64}{space 4}-.2133534{col 77}{space 3} 9.510727
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row C (Mean Imputation)
.         reg $y $x $MIcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       185
                                                {txt}F(7, 145)         =  {res}     2.70
                                                {txt}Prob > F          = {res}    0.0116
                                                {txt}R-squared         = {res}    0.0468
                                                {txt}Root MSE          =    {res} .49644

{txt}{ralign 88:(Std. Err. adjusted for {res:146} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0379964{col 36}{space 2} .0158093{col 47}{space 1}    2.40{col 56}{space 3}0.018{col 64}{space 4}   .00675{col 77}{space 3} .0692429
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1642547{col 36}{space 2} .1012144{col 47}{space 1}   -1.62{col 56}{space 3}0.107{col 64}{space 4}-.3643009{col 77}{space 3} .0357914
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .1233996{col 36}{space 2} .1688592{col 47}{space 1}    0.73{col 56}{space 3}0.466{col 64}{space 4}-.2103438{col 77}{space 3}  .457143
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.1960315{col 36}{space 2} .0955939{col 47}{space 1}   -2.05{col 56}{space 3}0.042{col 64}{space 4}-.3849691{col 77}{space 3}-.0070939
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0005424{col 36}{space 2} .0030508{col 47}{space 1}    0.18{col 56}{space 3}0.859{col 64}{space 4}-.0054875{col 77}{space 3} .0065722
{txt}{space 8}yr_impute_mean {c |}{col 24}{res}{space 2}-.0023438{col 36}{space 2} .0010531{col 47}{space 1}   -2.23{col 56}{space 3}0.028{col 64}{space 4}-.0044251{col 77}{space 3}-.0002625
{txt}{space 11}emp1_impute {c |}{col 24}{res}{space 2}-.0011835{col 36}{space 2}  .003007{col 47}{space 1}   -0.39{col 56}{space 3}0.694{col 64}{space 4}-.0071267{col 77}{space 3} .0047597
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 4.880837{col 36}{space 2} 2.099948{col 47}{space 1}    2.32{col 56}{space 3}0.021{col 64}{space 4} .7303739{col 77}{space 3} 9.031299
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row D (Limited SBIR controls)
.         reg $y $x $SBIRcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       185
                                                {txt}F(5, 145)         =  {res}     2.40
                                                {txt}Prob > F          = {res}    0.0400
                                                {txt}R-squared         = {res}    0.0423
                                                {txt}Root MSE          =    {res} .49481

{txt}{ralign 88:(Std. Err. adjusted for {res:146} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2}   .03836{col 36}{space 2} .0157398{col 47}{space 1}    2.44{col 56}{space 3}0.016{col 64}{space 4} .0072509{col 77}{space 3} .0694691
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1606838{col 36}{space 2} .0995288{col 47}{space 1}   -1.61{col 56}{space 3}0.109{col 64}{space 4}-.3573984{col 77}{space 3} .0360308
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}  .121424{col 36}{space 2} .1660418{col 47}{space 1}    0.73{col 56}{space 3}0.466{col 64}{space 4} -.206751{col 77}{space 3}  .449599
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} -.190797{col 36}{space 2} .0941104{col 47}{space 1}   -2.03{col 56}{space 3}0.044{col 64}{space 4}-.3768023{col 77}{space 3}-.0047916
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0003602{col 36}{space 2}  .003033{col 47}{space 1}    0.12{col 56}{space 3}0.906{col 64}{space 4}-.0056344{col 77}{space 3} .0063547
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .1802828{col 36}{space 2} .1460428{col 47}{space 1}    1.23{col 56}{space 3}0.219{col 64}{space 4}-.1083649{col 77}{space 3} .4689305
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         
. ** Table 7: Column 4
.         drop if p1prior_capacity > 3
{txt}(194 observations deleted)
{com}.         * Row A
.         reg $y $x $ddcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       136
                                                {txt}F(7, 117)         =  {res}     1.95
                                                {txt}Prob > F          = {res}    0.0674
                                                {txt}R-squared         = {res}    0.0583
                                                {txt}Root MSE          =    {res} .49749

{txt}{ralign 88:(Std. Err. adjusted for {res:118} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0315594{col 36}{space 2} .0187148{col 47}{space 1}    1.69{col 56}{space 3}0.094{col 64}{space 4}-.0055043{col 77}{space 3} .0686232
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} -.174678{col 36}{space 2} .1194615{col 47}{space 1}   -1.46{col 56}{space 3}0.146{col 64}{space 4}-.4112652{col 77}{space 3} .0619093
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .3658317{col 36}{space 2} .2234926{col 47}{space 1}    1.64{col 56}{space 3}0.104{col 64}{space 4}-.0767837{col 77}{space 3}  .808447
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.2651905{col 36}{space 2} .1306836{col 47}{space 1}   -2.03{col 56}{space 3}0.045{col 64}{space 4}-.5240025{col 77}{space 3}-.0063785
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0014457{col 36}{space 2} .0034024{col 47}{space 1}    0.42{col 56}{space 3}0.672{col 64}{space 4}-.0052926{col 77}{space 3} .0081839
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0031667{col 36}{space 2} .0093849{col 47}{space 1}   -0.34{col 56}{space 3}0.736{col 64}{space 4} -.021753{col 77}{space 3} .0154196
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2} .0022235{col 36}{space 2} .0034621{col 47}{space 1}    0.64{col 56}{space 3}0.522{col 64}{space 4} -.004633{col 77}{space 3}   .00908
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 6.540624{col 36}{space 2} 18.84014{col 47}{space 1}    0.35{col 56}{space 3}0.729{col 64}{space 4}-30.77129{col 77}{space 3} 43.85254
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, 3 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row B (Dummy Variable Analysis)
.         reg $y $x $dvacontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       165
                                                {txt}F(9, 138)         =  {res}     1.87
                                                {txt}Prob > F          = {res}    0.0613
                                                {txt}R-squared         = {res}    0.0589
                                                {txt}Root MSE          =    {res} .49712

{txt}{ralign 88:(Std. Err. adjusted for {res:139} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0321034{col 36}{space 2} .0167835{col 47}{space 1}    1.91{col 56}{space 3}0.058{col 64}{space 4}-.0010826{col 77}{space 3} .0652894
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1904319{col 36}{space 2} .1085796{col 47}{space 1}   -1.75{col 56}{space 3}0.082{col 64}{space 4}-.4051266{col 77}{space 3} .0242629
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .3452684{col 36}{space 2} .2227188{col 47}{space 1}    1.55{col 56}{space 3}0.123{col 64}{space 4}-.0951142{col 77}{space 3}  .785651
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.1270288{col 36}{space 2} .1509013{col 47}{space 1}   -0.84{col 56}{space 3}0.401{col 64}{space 4}-.4254066{col 77}{space 3}  .171349
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0000262{col 36}{space 2} .0032003{col 47}{space 1}    0.01{col 56}{space 3}0.993{col 64}{space 4}-.0063017{col 77}{space 3} .0063541
{txt}{space 16}yr_dva {c |}{col 24}{res}{space 2}-.0021371{col 36}{space 2} .0012382{col 47}{space 1}   -1.73{col 56}{space 3}0.087{col 64}{space 4}-.0045854{col 77}{space 3} .0003112
{txt}{space 15}emp_dva {c |}{col 24}{res}{space 2} .0023159{col 36}{space 2} .0033316{col 47}{space 1}    0.70{col 56}{space 3}0.488{col 64}{space 4}-.0042716{col 77}{space 3} .0089034
{txt}{space 12}dva_yr_dum {c |}{col 24}{res}{space 2}-.1732175{col 36}{space 2} .1972599{col 47}{space 1}   -0.88{col 56}{space 3}0.381{col 64}{space 4}-.5632603{col 77}{space 3} .2168252
{txt}{space 11}dva_emp_dum {c |}{col 24}{res}{space 2}-.0279649{col 36}{space 2} .1095418{col 47}{space 1}   -0.26{col 56}{space 3}0.799{col 64}{space 4}-.2445624{col 77}{space 3} .1886325
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 4.500877{col 36}{space 2} 2.475813{col 47}{space 1}    1.82{col 56}{space 3}0.071{col 64}{space 4}-.3945567{col 77}{space 3}  9.39631
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, 3 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row C (Mean Imputation)
.         reg $y $x $MIcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       165
                                                {txt}F(7, 138)         =  {res}     2.34
                                                {txt}Prob > F          = {res}    0.0276
                                                {txt}R-squared         = {res}    0.0506
                                                {txt}Root MSE          =    {res} .49613

{txt}{ralign 88:(Std. Err. adjusted for {res:139} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0322959{col 36}{space 2} .0168635{col 47}{space 1}    1.92{col 56}{space 3}0.058{col 64}{space 4}-.0010482{col 77}{space 3} .0656401
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1878651{col 36}{space 2} .1061627{col 47}{space 1}   -1.77{col 56}{space 3}0.079{col 64}{space 4}-.3977809{col 77}{space 3} .0220507
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .3539907{col 36}{space 2} .2215864{col 47}{space 1}    1.60{col 56}{space 3}0.112{col 64}{space 4}-.0841528{col 77}{space 3} .7921342
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.1267885{col 36}{space 2} .1456112{col 47}{space 1}   -0.87{col 56}{space 3}0.385{col 64}{space 4} -.414706{col 77}{space 3} .1611291
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0002739{col 36}{space 2}  .003244{col 47}{space 1}    0.08{col 56}{space 3}0.933{col 64}{space 4}-.0061405{col 77}{space 3} .0066884
{txt}{space 8}yr_impute_mean {c |}{col 24}{res}{space 2}-.0021826{col 36}{space 2} .0010984{col 47}{space 1}   -1.99{col 56}{space 3}0.049{col 64}{space 4}-.0043545{col 77}{space 3}-.0000108
{txt}{space 11}emp1_impute {c |}{col 24}{res}{space 2}-9.53e-07{col 36}{space 2} .0036402{col 47}{space 1}   -0.00{col 56}{space 3}1.000{col 64}{space 4}-.0071988{col 77}{space 3} .0071969
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 4.586713{col 36}{space 2} 2.197911{col 47}{space 1}    2.09{col 56}{space 3}0.039{col 64}{space 4} .2407753{col 77}{space 3}  8.93265
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, 3 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row D (Limited SBIR controls)
.         reg $y $x $SBIRcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       165
                                                {txt}F(5, 138)         =  {res}     2.23
                                                {txt}Prob > F          = {res}    0.0545
                                                {txt}R-squared         = {res}    0.0461
                                                {txt}Root MSE          =    {res} .49416

{txt}{ralign 88:(Std. Err. adjusted for {res:139} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}smp1amt_pd_10k {c |}{col 24}{res}{space 2} .0329095{col 36}{space 2}  .016791{col 47}{space 1}    1.96{col 56}{space 3}0.052{col 64}{space 4}-.0002914{col 77}{space 3} .0661104
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1880952{col 36}{space 2} .1043903{col 47}{space 1}   -1.80{col 56}{space 3}0.074{col 64}{space 4}-.3945065{col 77}{space 3} .0183161
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .3429708{col 36}{space 2} .2199269{col 47}{space 1}    1.56{col 56}{space 3}0.121{col 64}{space 4}-.0918913{col 77}{space 3}  .777833
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.1244776{col 36}{space 2} .1423187{col 47}{space 1}   -0.87{col 56}{space 3}0.383{col 64}{space 4}-.4058849{col 77}{space 3} .1569297
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2}  .000012{col 36}{space 2} .0031946{col 47}{space 1}    0.00{col 56}{space 3}0.997{col 64}{space 4}-.0063048{col 77}{space 3} .0063288
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .2178991{col 36}{space 2} .1544688{col 47}{space 1}    1.41{col 56}{space 3}0.161{col 64}{space 4}-.0875326{col 77}{space 3} .5233309
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2  using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, 3 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}. restore
. {c )-}
{txt}
{com}. ********************************************************************************
. ** Appendices 
. ********************************************************************************
. 
. ********************************************************************************
. ** Appendix A
. {c -(}
.         * Table A.1
.         * Note that this table was computed using the publicly available award data from the sbir awards database.
.         * These results did not utilize the primary database.   
.         
.         * Table A.2
.         * Note for statecode: AR (4); KY (18); MO (26); NC (34); SC (41); VA (47)
. preserve 
. set more off
. drop if year < 2002
{txt}(0 observations deleted)
{com}. drop if p1year == 2006
{txt}(245 observations deleted)
{com}. gen d2 = 1 if p1year > 2006
{txt}(1,030 missing values generated)
{com}. recode d2 (.=0)
{txt}(d2: 1030 changes made)
{com}. label var d2 "Post-period"
. gen d1 = 1 if p1year < 2006
{txt}(1,147 missing values generated)
{com}. recode d1 (.=0)
{txt}(d1: 1147 changes made)
{com}. lab var d1 "Pre-period"
. sort statecode
. by statecode: sum phase2 if d1 == 1

{txt}{hline}
-> statecode = 4

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         51    .5882353    .4970501          0          1

{txt}{hline}
-> statecode = 18

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         50         .44    .5014265          0          1

{txt}{hline}
-> statecode = 26

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        109    .4036697    .4928989          0          1

{txt}{hline}
-> statecode = 34

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        278          .5    .5009017          0          1

{txt}{hline}
-> statecode = 41

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         74    .3513514    .4806512          0          1

{txt}{hline}
-> statecode = 47

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        468    .4978632    .5005305          0          1

{com}. by statecode: sum phase2 if d2 == 1

{txt}{hline}
-> statecode = 4

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         81    .3580247    .4824065          0          1

{txt}{hline}
-> statecode = 18

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         74    .4054054    .4943217          0          1

{txt}{hline}
-> statecode = 26

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        109    .3302752    .4724845          0          1

{txt}{hline}
-> statecode = 34

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        287     .456446    .4989695          0          1

{txt}{hline}
-> statecode = 41

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         67    .4029851    .4941997          0          1

{txt}{hline}
-> statecode = 47

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        529    .4801512    .5000788          0          1

{com}. restore
. {c )-}
{txt}
{com}. ********************************************************************************
. ** Appendix B
. ********************************************************************************
.         * Table B.1
. {c -(}
.         /** Appendix B: assessment of NAICS codes
>         naics1: Scientific R&D services (5417*)
>         naics2: Architectural & engineering services (5413*)
>         naics3: Computer system services (5414*)
>         naics4: Other services (541* not 5417, 5413, 5414)
>         naics5: metal related manufacturing (33*)
>         naics6: non-metal related manufacturing (31*, 32*)
>         naics7: other (not 31-33; 54)
>         */      
. preserve
. collapse (max) statecode ind_naics_1 ind_naics_2 ind_naics_3 ind_naics_4 ind_naics_5 ind_naics_6 ind_naics_7, by(firm_id)
. sort statecode
. by statecode: sum ind_naics_1 ind_naics_2 ind_naics_3 ind_naics_4 ind_naics_5 ind_naics_6 ind_naics_7

{txt}{hline}
-> statecode = 4

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 1}ind_naics_1 {c |}{res}         29    .3793103     .493804          0          1
{txt}{space 1}ind_naics_2 {c |}{res}         29    .0689655    .2578807          0          1
{txt}{space 1}ind_naics_3 {c |}{res}         29    .0344828    .1856953          0          1
{txt}{space 1}ind_naics_4 {c |}{res}         29    .1034483     .309934          0          1
{txt}{space 1}ind_naics_5 {c |}{res}         29    .2068966    .4122508          0          1
{txt}{hline 13}{c +}{hline 57}
{space 1}ind_naics_6 {c |}{res}         29    .1034483     .309934          0          1
{txt}{space 1}ind_naics_7 {c |}{res}         29    .1724138    .3844259          0          1

{txt}{hline}
-> statecode = 18

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 1}ind_naics_1 {c |}{res}         40          .3    .4640955          0          1
{txt}{space 1}ind_naics_2 {c |}{res}         40        .075    .2667468          0          1
{txt}{space 1}ind_naics_3 {c |}{res}         40         .05    .2207214          0          1
{txt}{space 1}ind_naics_4 {c |}{res}         40         .05    .2207214          0          1
{txt}{space 1}ind_naics_5 {c |}{res}         40         .15    .3616203          0          1
{txt}{hline 13}{c +}{hline 57}
{space 1}ind_naics_6 {c |}{res}         40          .1    .3038218          0          1
{txt}{space 1}ind_naics_7 {c |}{res}         40          .3    .4640955          0          1

{txt}{hline}
-> statecode = 26

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 1}ind_naics_1 {c |}{res}         79    .2531646    .4376029          0          1
{txt}{space 1}ind_naics_2 {c |}{res}         79    .0759494    .2666099          0          1
{txt}{space 1}ind_naics_3 {c |}{res}         79    .1012658    .3036081          0          1
{txt}{space 1}ind_naics_4 {c |}{res}         79    .0253165    .1580882          0          1
{txt}{space 1}ind_naics_5 {c |}{res}         79    .1898734    .3947069          0          1
{txt}{hline 13}{c +}{hline 57}
{space 1}ind_naics_6 {c |}{res}         79    .1139241    .3197492          0          1
{txt}{space 1}ind_naics_7 {c |}{res}         79    .3291139     .472894          0          1

{txt}{hline}
-> statecode = 34

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 1}ind_naics_1 {c |}{res}        189    .3492063    .4779855          0          1
{txt}{space 1}ind_naics_2 {c |}{res}        189    .0952381    .2943232          0          1
{txt}{space 1}ind_naics_3 {c |}{res}        189    .0846561    .2791086          0          1
{txt}{space 1}ind_naics_4 {c |}{res}        189    .0740741     .262587          0          1
{txt}{space 1}ind_naics_5 {c |}{res}        189    .1587302    .3663949          0          1
{txt}{hline 13}{c +}{hline 57}
{space 1}ind_naics_6 {c |}{res}        189    .0687831    .2537571          0          1
{txt}{space 1}ind_naics_7 {c |}{res}        189    .2222222    .4168439          0          1

{txt}{hline}
-> statecode = 41

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 1}ind_naics_1 {c |}{res}         37    .2162162    .4173418          0          1
{txt}{space 1}ind_naics_2 {c |}{res}         37    .0540541    .2292434          0          1
{txt}{space 1}ind_naics_3 {c |}{res}         37    .0810811    .2767247          0          1
{txt}{space 1}ind_naics_4 {c |}{res}         37    .1081081    .3148001          0          1
{txt}{space 1}ind_naics_5 {c |}{res}         37    .2972973    .4633732          0          1
{txt}{hline 13}{c +}{hline 57}
{space 1}ind_naics_6 {c |}{res}         37    .1081081    .3148001          0          1
{txt}{space 1}ind_naics_7 {c |}{res}         37    .1621622    .3736839          0          1

{txt}{hline}
-> statecode = 47

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 1}ind_naics_1 {c |}{res}        163    .2208589    .4161039          0          1
{txt}{space 1}ind_naics_2 {c |}{res}        163    .2269939    .4201795          0          1
{txt}{space 1}ind_naics_3 {c |}{res}        163    .1226994    .3291029          0          1
{txt}{space 1}ind_naics_4 {c |}{res}        163    .1226994    .3291029          0          1
{txt}{space 1}ind_naics_5 {c |}{res}        163    .1226994    .3291029          0          1
{txt}{hline 13}{c +}{hline 57}
{space 1}ind_naics_6 {c |}{res}        163    .0245399    .1551948          0          1
{txt}{space 1}ind_naics_7 {c |}{res}        163    .2147239    .4118961          0          1

{com}. restore
. {c )-}
{txt}
{com}. ********************************************************************************
.         * Table B.2
. {c -(}
. global observed WomanOwn_dum HUB_dum Minority_dum yr_est_full Emp_p1year p1cbsa_capacity_annual p1prior_capacity
.                 * Full Sample, Full (Row A, Column 1)
. preserve
.         drop if year < 2002
{txt}(0 observations deleted)
{com}.         drop if p1year == 2006
{txt}(245 observations deleted)
{com}.         gen d2 = 1 if p1year > 2006
{txt}(1,030 missing values generated)
{com}.         recode d2 (.=0)
{txt}(d2: 1030 changes made)
{com}.         label var d2 "Post-period"
.         gen d1 = 1 if p1year < 2006
{txt}(1,147 missing values generated)
{com}.         recode d1 (.=0)
{txt}(d1: 1147 changes made)
{com}.         lab var d1 "Pre-period"
.         gen dT = 1 if state=="nc"|state=="ky"   
{txt}(1,488 missing values generated)
{com}.         recode dT (.=0)
{txt}(dT: 1488 changes made)
{com}.         label variable dT "Treated state"
.         gen d2_dT = d2*dT
.         lab var d2_dT "Policy Effect"
. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ttest `x', by(d2_dT) unequal
{txt}  5{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  6{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  7{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  8{com}. {c )-}
T-test of means for WomanOwn_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,816{col 22} .0655286{col 34} .0058084{col 46} .2475245{col 58} .0541367{col 70} .0769206
       {txt}1 {c |}{res}{col 12}    361{col 22} .0803324{col 34} .0143255{col 46} .2721844{col 58} .0521602{col 70} .1085046
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  2,177{col 22} .0679835{col 34} .0053961{col 46} .2517754{col 58} .0574013{col 70} .0785656
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0148038{col 34} .0154583{col 58}-.0451771{col 70} .0155696
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.9577
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 485.495

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1694         {txt}Pr(|T| > |t|) = {res}0.3387          {txt}Pr(T > t) = {res}0.8306
T-test of means for HUB_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,816{col 22} .0247797{col 34} .0036489{col 46}  .155496{col 58} .0176233{col 70} .0319362
       {txt}1 {c |}{res}{col 12}    361{col 22} .0166205{col 34}  .006738{col 46} .1280221{col 58} .0033697{col 70} .0298713
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  2,177{col 22} .0234267{col 34} .0032425{col 46} .1512892{col 58}  .017068{col 70} .0297854
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0081592{col 34} .0076626{col 58}-.0068899{col 70} .0232084
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.0648
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 592.013

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8563         {txt}Pr(|T| > |t|) = {res}0.2874          {txt}Pr(T > t) = {res}0.1437
T-test of means for Minority_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,816{col 22} .0368943{col 34} .0044246{col 46} .1885541{col 58} .0282163{col 70} .0455722
       {txt}1 {c |}{res}{col 12}    361{col 22} .0554017{col 34} .0120568{col 46} .2290801{col 58}  .031691{col 70} .0791124
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  2,177{col 22} .0399633{col 34}  .004199{col 46} .1959179{col 58} .0317288{col 70} .0481977
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0185074{col 34} .0128431{col 58}-.0437455{col 70} .0067307
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.4410
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 461.834

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0751         {txt}Pr(|T| > |t|) = {res}0.1503          {txt}Pr(T > t) = {res}0.9249
T-test of means for yr_est_full

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,752{col 22} 1995.445{col 34} .2001406{col 46} 8.377263{col 58} 1995.052{col 70} 1995.837
       {txt}1 {c |}{res}{col 12}    358{col 22} 2001.464{col 34} .6587228{col 46} 12.46362{col 58} 2000.168{col 70} 2002.759
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  2,110{col 22} 1996.466{col 34} .2061468{col 46}   9.4693{col 58} 1996.062{col 70}  1996.87
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-6.019052{col 34} .6884562{col 58}-7.372253{col 70}-4.665851
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -8.7428
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 425.215

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
T-test of means for Emp_p1year

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,531{col 22} 24.82364{col 34} .8482662{col 46} 33.19095{col 58} 23.15976{col 70} 26.48753
       {txt}1 {c |}{res}{col 12}    301{col 22} 9.245847{col 34}  .706839{col 46}  12.2632{col 58} 7.854857{col 70} 10.63684
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,832{col 22} 22.26419{col 34} .7308389{col 46} 31.28127{col 58} 20.83083{col 70} 23.69756
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  15.5778{col 34} 1.104163{col 58} 13.41161{col 70} 17.74398
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} 14.1082
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  1269.9

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}1.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}0.0000
T-test of means for p1cbsa_capacity_annual

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,816{col 22} 20.22797{col 34} .2670058{col 46} 11.37833{col 58}  19.7043{col 70} 20.75164
       {txt}1 {c |}{res}{col 12}    361{col 22}  22.2133{col 34} .7375027{col 46} 14.01255{col 58} 20.76294{col 70} 23.66365
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  2,177{col 22} 20.55719{col 34} .2545119{col 46}  11.8751{col 58} 20.05808{col 70}  21.0563
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-1.985323{col 34} .7843484{col 58}-3.526682{col 70}-.4439639
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.5312
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 458.994

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0059         {txt}Pr(|T| > |t|) = {res}0.0117          {txt}Pr(T > t) = {res}0.9941
T-test of means for p1prior_capacity

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,816{col 22} 28.10297{col 34} 1.362928{col 46} 58.08056{col 58}  25.4299{col 70} 30.77605
       {txt}1 {c |}{res}{col 12}    361{col 22}  4.34903{col 34} .3089914{col 46} 5.870837{col 58} 3.741376{col 70} 4.956685
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  2,177{col 22} 24.16399{col 34} 1.153672{col 46} 53.82842{col 58} 21.90157{col 70}  26.4264
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 23.75394{col 34} 1.397515{col 58} 21.01319{col 70}  26.4947
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} 16.9973
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}    1980

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}1.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}0.0000
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
               control       treat      t-stat
 Woman_own {res}  .06552863   .08033241  -.95766109
{txt}         . {res}          .           .   .33871032
{txt}   HUBZone {res}  .02477974    .0166205   1.0648157
{txt}         . {res}          .           .   .28739342
{txt}  Minority {res}  .03689427   .05540166  -1.4410384
{txt}         . {res}          .           .   .15025147
{txt}    yr_est {res}  1995.4446   2001.4637  -8.7428256
{txt}         . {res}          .           .   5.327e-17
{txt}Employment {res}  24.823645   9.2458472   14.108236
{txt}         . {res}          .           .   4.272e-42
{txt} CBSA_SBIR {res}  20.227974   22.213296  -2.5311748
{txt}         . {res}          .           .   .01170098
{txt}SBIR_prior {res}  28.102974   4.3490305   16.997272
{txt}         . {res}          .           .   1.379e-60
{reset}{com}. restore 
. 
.                 * Full Sample, HHS (Row A, Column 2)
. preserve
.         keep if agency == "hhs"
{txt}(1,717 observations deleted)
{com}.         drop if year < 2002
{txt}(0 observations deleted)
{com}.         drop if p1year == 2006
{txt}(62 observations deleted)
{com}.         gen d2 = 1 if p1year > 2006
{txt}(327 missing values generated)
{com}.         recode d2 (.=0)
{txt}(d2: 327 changes made)
{com}.         label var d2 "Post-period"
.         gen d1 = 1 if p1year < 2006
{txt}(316 missing values generated)
{com}.         recode d1 (.=0)
{txt}(d1: 316 changes made)
{com}.         lab var d1 "Pre-period"
.         gen dT = 1 if state=="nc"|state=="ky"   
{txt}(295 missing values generated)
{com}.         recode dT (.=0)
{txt}(dT: 295 changes made)
{com}.         label variable dT "Treated state"
.         gen d2_dT = d2*dT
.         lab var d2_dT "Policy Effect"
. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ttest `x', by(d2_dT) unequal
{txt}  5{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  6{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  7{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  8{com}. {c )-}
T-test of means for WomanOwn_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    470{col 22} .0723404{col 34} .0119619{col 46} .2593268{col 58}  .048835{col 70} .0958459
       {txt}1 {c |}{res}{col 12}    173{col 22} .0982659{col 34} .0226974{col 46} .2985379{col 58} .0534646{col 70} .1430672
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    643{col 22} .0793157{col 34} .0106652{col 46} .2704413{col 58} .0583729{col 70} .1002585
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0259255{col 34} .0256566{col 58}-.0764352{col 70} .0245843
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.0105
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 273.086

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1566         {txt}Pr(|T| > |t|) = {res}0.3132          {txt}Pr(T > t) = {res}0.8434
T-test of means for HUB_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    470{col 22} .0106383{col 34} .0047373{col 46} .1027013{col 58} .0013294{col 70} .0199472
       {txt}1 {c |}{res}{col 12}    173{col 22} .0057803{col 34} .0057803{col 46} .0760286{col 58}-.0056292{col 70} .0171899
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    643{col 22} .0093313{col 34} .0037946{col 46} .0962215{col 58} .0018799{col 70} .0167826
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  .004858{col 34} .0074736{col 58}-.0098331{col 70}  .019549
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.6500
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 412.412

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7420         {txt}Pr(|T| > |t|) = {res}0.5160          {txt}Pr(T > t) = {res}0.2580
T-test of means for Minority_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    470{col 22} .0297872{col 34} .0078499{col 46}  .170181{col 58}  .014362{col 70} .0452125
       {txt}1 {c |}{res}{col 12}    173{col 22} .0115607{col 34} .0081508{col 46} .1072077{col 58}-.0045279{col 70} .0276493
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    643{col 22} .0248834{col 34} .0061477{col 46} .1558909{col 58} .0128113{col 70} .0369555
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0182265{col 34} .0113162{col 58}-.0040082{col 70} .0404613
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.6107
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 485.772

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9460         {txt}Pr(|T| > |t|) = {res}0.1079          {txt}Pr(T > t) = {res}0.0540
T-test of means for yr_est_full

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    453{col 22} 1996.203{col 34} .4653882{col 46} 9.905227{col 58} 1995.288{col 70} 1997.118
       {txt}1 {c |}{res}{col 12}    172{col 22} 2002.273{col 34} .3980503{col 46} 5.220381{col 58} 2001.488{col 70} 2003.059
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    625{col 22} 1997.874{col 34}  .370727{col 46} 9.268175{col 58} 1997.146{col 70} 1998.602
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-6.070165{col 34} .6123971{col 58}-7.273036{col 70}-4.867295
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -9.9121
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 561.261

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
T-test of means for Emp_p1year

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    368{col 22} 18.48913{col 34} 2.062526{col 46} 39.56611{col 58} 14.43328{col 70} 22.54498
       {txt}1 {c |}{res}{col 12}    132{col 22} 7.795455{col 34} .9145632{col 46} 10.50753{col 58}  5.98623{col 70} 9.604679
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    500{col 22}   15.666{col 34} 1.550878{col 46} 34.67869{col 58} 12.61894{col 70} 18.71306
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 10.69368{col 34}   2.2562{col 58} 6.260288{col 70} 15.12706
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  4.7397
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 474.154

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}1.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}0.0000
T-test of means for p1cbsa_capacity_annual

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    470{col 22} 17.86809{col 34} .5056673{col 46} 10.96261{col 58} 16.87443{col 70} 18.86174
       {txt}1 {c |}{res}{col 12}    173{col 22} 26.56647{col 34} 1.073462{col 46} 14.11919{col 58} 24.44762{col 70} 28.68533
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    643{col 22}  20.2084{col 34} .4927247{col 46} 12.49424{col 58} 19.24085{col 70} 21.17594
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-8.698389{col 34} 1.186601{col 58} -11.0353{col 70}-6.361482
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -7.3305
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 252.247

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
T-test of means for p1prior_capacity

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    470{col 22} 10.60426{col 34} 1.457132{col 46} 31.58987{col 58}  7.74094{col 70} 13.46757
       {txt}1 {c |}{res}{col 12}    173{col 22} 5.572254{col 34} .5114086{col 46}  6.72653{col 58} 4.562809{col 70} 6.581699
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    643{col 22} 9.250389{col 34} 1.077206{col 46} 27.31519{col 58} 7.135116{col 70} 11.36566
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 5.032001{col 34} 1.544271{col 58} 1.998824{col 70} 8.065178
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  3.2585
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 568.152

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9994         {txt}Pr(|T| > |t|) = {res}0.0012          {txt}Pr(T > t) = {res}0.0006
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
               control       treat      t-stat
 Woman_own {res}  .07234043    .0982659  -1.0104815
{txt}         . {res}          .           .   .31315913
{txt}   HUBZone {res}   .0106383   .00578035   .65001869
{txt}         . {res}          .           .   .51604206
{txt}  Minority {res}  .02978723   .01156069   1.6106573
{txt}         . {res}          .           .     .107904
{txt}    yr_est {res}  1996.2031   2002.2733  -9.9121389
{txt}         . {res}          .           .   1.888e-21
{txt}Employment {res}   18.48913   7.7954545   4.7396842
{txt}         . {res}          .           .   2.834e-06
{txt} CBSA_SBIR {res}  17.868085   26.566474  -7.3305107
{txt}         . {res}          .           .   3.108e-12
{txt}SBIR_prior {res}  10.604255   5.5722543   3.2584964
{txt}         . {res}          .           .   .00118694
{reset}{com}. restore 
. 
.                 * Full Sample, NSF (Row A, Column 3)
. preserve
.         keep if agency == "nsf"
{txt}(2,208 observations deleted)
{com}.         drop if year < 2002
{txt}(0 observations deleted)
{com}.         drop if p1year == 2006
{txt}(22 observations deleted)
{com}.         gen d2 = 1 if p1year > 2006
{txt}(81 missing values generated)
{com}.         recode d2 (.=0)
{txt}(d2: 81 changes made)
{com}.         label var d2 "Post-period"
.         gen d1 = 1 if p1year < 2006
{txt}(111 missing values generated)
{com}.         recode d1 (.=0)
{txt}(d1: 111 changes made)
{com}.         lab var d1 "Pre-period"
.         gen dT = 1 if state=="nc"|state=="ky"   
{txt}(114 missing values generated)
{com}.         recode dT (.=0)
{txt}(dT: 114 changes made)
{com}.         label variable dT "Treated state"
.         gen d2_dT = d2*dT
.         lab var d2_dT "Policy Effect"
. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ttest `x', by(d2_dT) unequal
{txt}  5{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  6{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  7{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  8{com}. {c )-}
T-test of means for WomanOwn_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    141{col 22} .0851064{col 34} .0235832{col 46} .2800347{col 58} .0384812{col 70} .1317316
       {txt}1 {c |}{res}{col 12}     51{col 22} .1176471{col 34} .0455645{col 46} .3253957{col 58}  .026128{col 70} .2091661
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    192{col 22}   .09375{col 34} .0210908{col 46} .2922426{col 58} .0521492{col 70} .1353508
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0325407{col 34} .0513059{col 58}-.1346752{col 70} .0695939
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.6342
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 78.3683

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2639         {txt}Pr(|T| > |t|) = {res}0.5278          {txt}Pr(T > t) = {res}0.7361
T-test of means for HUB_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    141{col 22} .0283688{col 34} .0140316{col 46}  .166616{col 58} .0006276{col 70}   .05611
       {txt}1 {c |}{res}{col 12}     51{col 22} .0196078{col 34} .0196078{col 46}  .140028{col 58}-.0197757{col 70} .0589914
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    192{col 22} .0260417{col 34} .0115236{col 46} .1596756{col 58} .0033118{col 70} .0487715
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  .008761{col 34} .0241113{col 58}-.0390497{col 70} .0565716
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.3634
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 104.532

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6415         {txt}Pr(|T| > |t|) = {res}0.7171          {txt}Pr(T > t) = {res}0.3585
T-test of means for Minority_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    141{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
       {txt}1 {c |}{res}{col 12}     51{col 22} .0392157{col 34}  .027451{col 46} .1960392{col 58}-.0159212{col 70} .0943526
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    192{col 22} .0104167{col 34} .0073464{col 46} .1017945{col 58}-.0040738{col 70} .0249071
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0392157{col 34}  .027451{col 58}-.0943526{col 70} .0159212
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.4286
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}      50

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0797         {txt}Pr(|T| > |t|) = {res}0.1593          {txt}Pr(T > t) = {res}0.9203
T-test of means for yr_est_full

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    134{col 22} 1999.769{col 34} .5230533{col 46}  6.05478{col 58} 1998.734{col 70} 2000.803
       {txt}1 {c |}{res}{col 12}     51{col 22} 2001.118{col 34} 2.170144{col 46} 15.49793{col 58} 1996.759{col 70} 2005.477
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    185{col 22} 2000.141{col 34}    .7057{col 46} 9.598558{col 58} 1998.748{col 70} 2001.533
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -1.34899{col 34} 2.232288{col 58}-5.820966{col 70} 3.122985
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.6043
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  55.907

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2740         {txt}Pr(|T| > |t|) = {res}0.5481          {txt}Pr(T > t) = {res}0.7260
T-test of means for Emp_p1year

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    117{col 22} 18.18803{col 34} 2.634307{col 46} 28.49438{col 58} 12.97046{col 70} 23.40561
       {txt}1 {c |}{res}{col 12}     45{col 22} 6.866667{col 34} 2.266934{col 46} 15.20706{col 58} 2.297961{col 70} 11.43537
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    162{col 22} 15.04321{col 34} 2.039829{col 46} 25.96279{col 58} 11.01494{col 70} 19.07148
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 11.32137{col 34} 3.475422{col 58} 4.451806{col 70} 18.19093
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  3.2576
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 143.684

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9993         {txt}Pr(|T| > |t|) = {res}0.0014          {txt}Pr(T > t) = {res}0.0007
T-test of means for p1cbsa_capacity_annual

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    141{col 22} 15.05674{col 34}  .993228{col 46} 11.79393{col 58} 13.09307{col 70}  17.0204
       {txt}1 {c |}{res}{col 12}     51{col 22} 19.23529{col 34} 1.845097{col 46} 13.17663{col 58} 15.52931{col 70} 22.94128
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    192{col 22} 16.16667{col 34} .8863276{col 46} 12.28132{col 58} 14.41842{col 70} 17.91491
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-4.178557{col 34} 2.095444{col 58}-8.348025{col 70}-.0090882
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.9941
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 80.7541

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0248         {txt}Pr(|T| > |t|) = {res}0.0495          {txt}Pr(T > t) = {res}0.9752
T-test of means for p1prior_capacity

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    141{col 22} 9.602837{col 34} 2.228167{col 46} 26.45802{col 58}  5.19763{col 70} 14.00804
       {txt}1 {c |}{res}{col 12}     51{col 22} 1.509804{col 34} .3306234{col 46} 2.361123{col 58} .8457274{col 70}  2.17388
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    192{col 22} 7.453125{col 34} 1.657388{col 46} 22.96544{col 58} 4.183991{col 70} 10.72226
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 8.093033{col 34} 2.252563{col 58} 3.641198{col 70} 12.54487
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  3.5928
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 146.035

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9998         {txt}Pr(|T| > |t|) = {res}0.0004          {txt}Pr(T > t) = {res}0.0002
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
               control       treat      t-stat
 Woman_own {res}  .08510638   .11764706  -.63424876
{txt}         . {res}          .           .   .52776559
{txt}   HUBZone {res}  .02836879   .01960784   .36335505
{txt}         . {res}          .           .   .71707346
{txt}  Minority {res}          0   .03921569  -1.4285714
{txt}         . {res}          .           .   .15934493
{txt}    yr_est {res}  1999.7687   2001.1176  -.60430825
{txt}         . {res}          .           .   .54808338
{txt}Employment {res}  18.188034   6.8666667   3.2575515
{txt}         . {res}          .           .   .00140234
{txt} CBSA_SBIR {res}  15.056738   19.235294  -1.9941153
{txt}         . {res}          .           .   .04951441
{txt}SBIR_prior {res}  9.6028369   1.5098039   3.5928105
{txt}         . {res}          .           .   .00044637
{reset}{com}. restore 
. 
.         * Less than 5 prior Sample, Full (Row B, Column 1)
. preserve
.         drop if year < 2002
{txt}(0 observations deleted)
{com}.         drop if p1year == 2006
{txt}(245 observations deleted)
{com}.         gen d2 = 1 if p1year > 2006
{txt}(1,030 missing values generated)
{com}.         recode d2 (.=0)
{txt}(d2: 1030 changes made)
{com}.         label var d2 "Post-period"
.         gen d1 = 1 if p1year < 2006
{txt}(1,147 missing values generated)
{com}.         recode d1 (.=0)
{txt}(d1: 1147 changes made)
{com}.         lab var d1 "Pre-period"
.         gen dT = 1 if state=="nc"|state=="ky"   
{txt}(1,488 missing values generated)
{com}.         recode dT (.=0)
{txt}(dT: 1488 changes made)
{com}.         label variable dT "Treated state"
.         gen d2_dT = d2*dT
.         lab var d2_dT "Policy Effect"
.         drop if p1prior_capacity > 5
{txt}(887 observations deleted)
{com}. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ttest `x', by(d2_dT) unequal
{txt}  5{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  6{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  7{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  8{com}. {c )-}
T-test of means for WomanOwn_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,028{col 22}  .098249{col 34}  .009288{col 46} .2977959{col 58} .0800234{col 70} .1164747
       {txt}1 {c |}{res}{col 12}    262{col 22} .0687023{col 34}  .015657{col 46} .2534313{col 58} .0378721{col 70} .0995325
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,290{col 22} .0922481{col 34}   .00806{col 46}  .289488{col 58} .0764359{col 70} .1080602
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0295467{col 34} .0182047{col 58}-.0062274{col 70} .0653208
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.6230
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 462.461

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9474         {txt}Pr(|T| > |t|) = {res}0.1053          {txt}Pr(T > t) = {res}0.0526
T-test of means for HUB_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,028{col 22} .0291829{col 34} .0052523{col 46} .1684008{col 58} .0188765{col 70} .0394893
       {txt}1 {c |}{res}{col 12}    262{col 22} .0229008{col 34} .0092592{col 46} .1498735{col 58} .0046685{col 70}  .041133
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,290{col 22}  .027907{col 34} .0045876{col 46} .1647702{col 58}  .018907{col 70} .0369069
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0062821{col 34} .0106452{col 58} -.014639{col 70} .0272032
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.5901
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 444.297

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7223         {txt}Pr(|T| > |t|) = {res}0.5554          {txt}Pr(T > t) = {res}0.2777
T-test of means for Minority_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,028{col 22} .0583658{col 34} .0073153{col 46} .2345479{col 58}  .044011{col 70} .0727205
       {txt}1 {c |}{res}{col 12}    262{col 22} .0725191{col 34} .0160531{col 46} .2598418{col 58}  .040909{col 70} .1041291
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,290{col 22} .0612403{col 34} .0066784{col 46} .2398636{col 58} .0481387{col 70} .0743419
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0141533{col 34} .0176413{col 58}-.0488412{col 70} .0205345
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.8023
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 376.527

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2114         {txt}Pr(|T| > |t|) = {res}0.4229          {txt}Pr(T > t) = {res}0.7886
T-test of means for yr_est_full

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    968{col 22} 1997.976{col 34} .2932314{col 46}  9.12322{col 58} 1997.401{col 70} 1998.552
       {txt}1 {c |}{res}{col 12}    259{col 22} 2002.154{col 34} .8858549{col 46} 14.25649{col 58}  2000.41{col 70} 2003.899
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,227{col 22} 1998.858{col 34} .3012208{col 46} 10.55133{col 58} 1998.267{col 70} 1999.449
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  -4.1782{col 34} .9331257{col 58}-6.014111{col 70} -2.34229
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -4.4776
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 316.622

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
T-test of means for Emp_p1year

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    787{col 22} 15.78526{col 34} 1.322293{col 46} 37.09497{col 58} 13.18962{col 70}  18.3809
       {txt}1 {c |}{res}{col 12}    229{col 22} 7.917031{col 34} .8321959{col 46} 12.59341{col 58} 6.277252{col 70} 9.556809
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,016{col 22} 14.01181{col 34}  1.04619{col 46} 33.34705{col 58} 11.95887{col 70} 16.06475
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  7.86823{col 34} 1.562373{col 58} 4.802304{col 70} 10.93416
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  5.0361
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 994.235

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}1.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}0.0000
T-test of means for p1cbsa_capacity_annual

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,028{col 22} 17.18774{col 34} .3511492{col 46}  11.2587{col 58} 16.49869{col 70} 17.87679
       {txt}1 {c |}{res}{col 12}    262{col 22} 20.69466{col 34} .8708336{col 46} 14.09567{col 58}  18.9799{col 70} 22.40941
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,290{col 22}     17.9{col 34} .3331975{col 46} 11.96731{col 58} 17.24633{col 70} 18.55367
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-3.506913{col 34} .9389659{col 58}-5.353631{col 70}-1.660196
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -3.7349
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 350.422

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0001         {txt}Pr(|T| > |t|) = {res}0.0002          {txt}Pr(T > t) = {res}0.9999
T-test of means for p1prior_capacity

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,028{col 22} 1.279183{col 34} .0479448{col 46} 1.537229{col 58} 1.185102{col 70} 1.373264
       {txt}1 {c |}{res}{col 12}    262{col 22} 1.312977{col 34} .0970701{col 46} 1.571216{col 58} 1.121837{col 70} 1.504117
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,290{col 22} 1.286047{col 34} .0429784{col 46} 1.543637{col 58} 1.201731{col 70} 1.370362
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0337942{col 34}  .108265{col 58}-.2466371{col 70} .1790487
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.3121
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 397.861

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3775         {txt}Pr(|T| > |t|) = {res}0.7551          {txt}Pr(T > t) = {res}0.6225
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
               control       treat      t-stat
 Woman_own {res}  .09824903   .06870229   1.6230311
{txt}         . {res}          .           .   .10526418
{txt}   HUBZone {res}  .02918288   .02290076   .59013826
{txt}         . {res}          .           .   .55539798
{txt}  Minority {res}  .05836576   .07251908  -.80228325
{txt}         . {res}          .           .    .4228952
{txt}    yr_est {res}  1997.9762   2002.1544  -4.4776395
{txt}         . {res}          .           .   .00001055
{txt}Employment {res}   15.78526   7.9170306   5.0360777
{txt}         . {res}          .           .   5.640e-07
{txt} CBSA_SBIR {res}  17.187743   20.694656  -3.7348676
{txt}         . {res}          .           .   .00021915
{txt}SBIR_prior {res}  1.2791829   1.3129771  -.31214364
{txt}         . {res}          .           .   .75509489
{reset}{com}. restore 
. 
.                 *Less than 5 prior Sample, HHS (Row B, Column 2)
. preserve
.         keep if agency == "hhs"
{txt}(1,717 observations deleted)
{com}.         drop if year < 2002
{txt}(0 observations deleted)
{com}.         drop if p1year == 2006
{txt}(62 observations deleted)
{com}.         gen d2 = 1 if p1year > 2006
{txt}(327 missing values generated)
{com}.         recode d2 (.=0)
{txt}(d2: 327 changes made)
{com}.         label var d2 "Post-period"
.         gen d1 = 1 if p1year < 2006
{txt}(316 missing values generated)
{com}.         recode d1 (.=0)
{txt}(d1: 316 changes made)
{com}.         lab var d1 "Pre-period"
.         gen dT = 1 if state=="nc"|state=="ky"   
{txt}(295 missing values generated)
{com}.         recode dT (.=0)
{txt}(dT: 295 changes made)
{com}.         label variable dT "Treated state"
.         gen d2_dT = d2*dT
.         lab var d2_dT "Policy Effect"
.         keep if p1prior_capacity < 6
{txt}(223 observations deleted)
{com}. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ttest `x', by(d2_dT) unequal
{txt}  5{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  6{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  7{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  8{com}. {c )-}
T-test of means for WomanOwn_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    313{col 22}  .086262{col 34} .0158944{col 46} .2812001{col 58} .0549883{col 70} .1175357
       {txt}1 {c |}{res}{col 12}    107{col 22} .0747664{col 34} .0255462{col 46} .2642517{col 58} .0241186{col 70} .1254141
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    420{col 22} .0833333{col 34} .0135023{col 46}  .276715{col 58} .0567926{col 70}  .109874
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0114956{col 34} .0300872{col 58}-.0478442{col 70} .0708354
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.3821
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 194.071

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6486         {txt}Pr(|T| > |t|) = {res}0.7028          {txt}Pr(T > t) = {res}0.3514
T-test of means for HUB_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    313{col 22} .0127796{col 34}  .006359{col 46} .1125019{col 58} .0002676{col 70} .0252915
       {txt}1 {c |}{res}{col 12}    107{col 22} .0093458{col 34} .0093458{col 46} .0966736{col 58}-.0091832{col 70} .0278747
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    420{col 22} .0119048{col 34} .0052985{col 46} .1085869{col 58} .0014898{col 70} .0223197
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0034338{col 34}  .011304{col 58}-.0188492{col 70} .0257167
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.3038
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 211.468

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6192         {txt}Pr(|T| > |t|) = {res}0.7616          {txt}Pr(T > t) = {res}0.3808
T-test of means for Minority_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    313{col 22} .0415335{col 34} .0112956{col 46} .1998402{col 58} .0193083{col 70} .0637588
       {txt}1 {c |}{res}{col 12}    107{col 22} .0186916{col 34} .0131545{col 46} .1360708{col 58}-.0073884{col 70} .0447716
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    420{col 22} .0357143{col 34}  .009066{col 46} .1857982{col 58} .0178937{col 70} .0535348
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  .022842{col 34} .0173387{col 58}-.0112943{col 70} .0569782
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.3174
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 270.065

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9056         {txt}Pr(|T| > |t|) = {res}0.1888          {txt}Pr(T > t) = {res}0.0944
T-test of means for yr_est_full

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    296{col 22}  1998.75{col 34} .6016802{col 46}  10.3517{col 58} 1997.566{col 70} 1999.934
       {txt}1 {c |}{res}{col 12}    106{col 22} 2003.481{col 34} .4724639{col 46} 4.864313{col 58} 2002.544{col 70} 2004.418
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    402{col 22} 1999.998{col 34} .4715383{col 46} 9.454313{col 58} 1999.071{col 70} 2000.925
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-4.731132{col 34} .7650105{col 58}-6.235409{col 70}-3.226855
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -6.1844
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  372.77

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
T-test of means for Emp_p1year

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    225{col 22} 16.77333{col 34} 3.215659{col 46} 48.23489{col 58} 10.43652{col 70} 23.11015
       {txt}1 {c |}{res}{col 12}     90{col 22} 6.666667{col 34} 1.221632{col 46} 11.58942{col 58}  4.23931{col 70} 9.094023
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    315{col 22} 13.88571{col 34} 2.335866{col 46} 41.45752{col 58} 9.289786{col 70} 18.48164
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 10.10667{col 34} 3.439891{col 58}   3.3352{col 70} 16.87813
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.9381
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 278.712

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9982         {txt}Pr(|T| > |t|) = {res}0.0036          {txt}Pr(T > t) = {res}0.0018
T-test of means for p1cbsa_capacity_annual

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    313{col 22} 18.23642{col 34} .6402288{col 46}  11.3268{col 58} 16.97671{col 70} 19.49613
       {txt}1 {c |}{res}{col 12}    107{col 22} 25.42056{col 34} 1.412469{col 46} 14.61069{col 58}  22.6202{col 70} 28.22092
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    420{col 22} 20.06667{col 34} .6159791{col 46} 12.62381{col 58} 18.85587{col 70} 21.27746
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-7.184139{col 34} 1.550794{col 58}-10.24806{col 70}-4.120221
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -4.6326
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 151.853

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
T-test of means for p1prior_capacity

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    313{col 22} 1.258786{col 34} .0864616{col 46} 1.529662{col 58} 1.088664{col 70} 1.428908
       {txt}1 {c |}{res}{col 12}    107{col 22} 1.205607{col 34} .1299311{col 46} 1.344018{col 58} .9480065{col 70} 1.463208
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    420{col 22} 1.245238{col 34} .0723723{col 46} 1.483192{col 58}  1.10298{col 70} 1.387496
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0531785{col 34} .1560695{col 58}-.2545122{col 70} .3608691
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.3407
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 206.879

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6332         {txt}Pr(|T| > |t|) = {res}0.7336          {txt}Pr(T > t) = {res}0.3668
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
               control       treat      t-stat
 Woman_own {res}  .08626198   .07476636   .38207729
{txt}         . {res}          .           .   .70282209
{txt}   HUBZone {res}  .01277955   .00934579   .30376476
{txt}         . {res}          .           .   .76160579
{txt}  Minority {res}  .04153355   .01869159    1.317396
{txt}         . {res}          .           .   .18882248
{txt}    yr_est {res}    1998.75   2003.4811  -6.1844011
{txt}         . {res}          .           .   1.640e-09
{txt}Employment {res}  16.773333   6.6666667   2.9380777
{txt}         . {res}          .           .   .00357866
{txt} CBSA_SBIR {res}  18.236422   25.420561  -4.6325552
{txt}         . {res}          .           .   7.711e-06
{txt}SBIR_prior {res}  1.2587859   1.2056075   .34073573
{txt}         . {res}          .           .   .73364831
{reset}{com}. restore 
. 
.                 * Less than 5 prior Sample, NSF (Row A, Column 3)
. preserve
.         keep if agency == "nsf"
{txt}(2,208 observations deleted)
{com}.         drop if year < 2002
{txt}(0 observations deleted)
{com}.         drop if p1year == 2006
{txt}(22 observations deleted)
{com}.         gen d2 = 1 if p1year > 2006
{txt}(81 missing values generated)
{com}.         recode d2 (.=0)
{txt}(d2: 81 changes made)
{com}.         label var d2 "Post-period"
.         gen d1 = 1 if p1year < 2006
{txt}(111 missing values generated)
{com}.         recode d1 (.=0)
{txt}(d1: 111 changes made)
{com}.         lab var d1 "Pre-period"
.         gen dT = 1 if state=="nc"|state=="ky"   
{txt}(114 missing values generated)
{com}.         recode dT (.=0)
{txt}(dT: 114 changes made)
{com}.         label variable dT "Treated state"
.         gen d2_dT = d2*dT
.         lab var d2_dT "Policy Effect"
.         keep if p1prior_capacity < 6
{txt}(40 observations deleted)
{com}. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ttest `x', by(d2_dT) unequal
{txt}  5{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  6{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  7{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  8{com}. {c )-}
T-test of means for WomanOwn_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    106{col 22} .1132075{col 34}  .030921{col 46} .3183515{col 58} .0518968{col 70} .1745182
       {txt}1 {c |}{res}{col 12}     46{col 22} .1304348{col 34} .0502044{col 46} .3405026{col 58}  .029318{col 70} .2315516
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    152{col 22} .1184211{col 34}  .026294{col 46} .3241742{col 58} .0664694{col 70} .1703727
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0172272{col 34} .0589626{col 58}-.1345522{col 70} .1000977
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.2922
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 80.6424

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3855         {txt}Pr(|T| > |t|) = {res}0.7709          {txt}Pr(T > t) = {res}0.6145
T-test of means for HUB_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    106{col 22} .0377358{col 34} .0185964{col 46}  .191462{col 58} .0008626{col 70} .0746091
       {txt}1 {c |}{res}{col 12}     46{col 22} .0217391{col 34} .0217391{col 46}  .147442{col 58}-.0220457{col 70}  .065524
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    152{col 22} .0328947{col 34} .0145148{col 46} .1789507{col 58} .0042164{col 70} .0615731
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0159967{col 34}  .028608{col 58}-.0406989{col 70} .0726924
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.5592
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 109.766

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7114         {txt}Pr(|T| > |t|) = {res}0.5772          {txt}Pr(T > t) = {res}0.2886
T-test of means for Minority_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    106{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
       {txt}1 {c |}{res}{col 12}     46{col 22} .0434783{col 34} .0304003{col 46} .2061846{col 58} -.017751{col 70} .1047075
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    152{col 22} .0131579{col 34} .0092732{col 46} .1143274{col 58} -.005164{col 70} .0314798
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0434783{col 34} .0304003{col 58}-.1047075{col 70}  .017751
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.4302
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}      45

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0798         {txt}Pr(|T| > |t|) = {res}0.1596          {txt}Pr(T > t) = {res}0.9202
T-test of means for yr_est_full

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     99{col 22}     2001{col 34} .5816191{col 46} 5.787037{col 58} 1999.846{col 70} 2002.154
       {txt}1 {c |}{res}{col 12}     46{col 22} 2001.087{col 34} 2.408485{col 46} 16.33514{col 58} 1996.236{col 70} 2005.938
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    145{col 22} 2001.028{col 34} .8557303{col 46} 10.30436{col 58} 1999.336{col 70} 2002.719
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0869565{col 34} 2.477716{col 58}-5.062805{col 70} 4.888892
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.0351
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 50.3229

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4861         {txt}Pr(|T| > |t|) = {res}0.9721          {txt}Pr(T > t) = {res}0.5139
T-test of means for Emp_p1year

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     82{col 22} 14.87805{col 34} 3.440613{col 46} 31.15607{col 58} 8.032308{col 70} 21.72379
       {txt}1 {c |}{res}{col 12}     42{col 22} 6.547619{col 34} 2.413474{col 46}  15.6411{col 58} 1.673509{col 70} 11.42173
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    124{col 22} 12.05645{col 34} 2.437046{col 46}  27.1378{col 58} 7.232468{col 70} 16.88044
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  8.33043{col 34} 4.202698{col 58} .0107536{col 70} 16.65011
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.9822
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 121.978

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9751         {txt}Pr(|T| > |t|) = {res}0.0497          {txt}Pr(T > t) = {res}0.0249
T-test of means for p1cbsa_capacity_annual

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    106{col 22} 14.34906{col 34}   1.1769{col 46} 12.11692{col 58} 12.01548{col 70} 16.68263
       {txt}1 {c |}{res}{col 12}     46{col 22} 18.13043{col 34} 1.892678{col 46} 12.83677{col 58} 14.31839{col 70} 21.94248
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    152{col 22} 15.49342{col 34} 1.007336{col 46} 12.41927{col 58} 13.50313{col 70} 17.48371
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-3.781378{col 34} 2.228749{col 58}-8.215629{col 70} .6528722
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.6966
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 81.3166

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0468         {txt}Pr(|T| > |t|) = {res}0.0936          {txt}Pr(T > t) = {res}0.9532
T-test of means for p1prior_capacity

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    106{col 22} .9528302{col 34} .1389099{col 46} 1.430165{col 58} .6773974{col 70} 1.228263
       {txt}1 {c |}{res}{col 12}     46{col 22} .8913043{col 34} .1971494{col 46} 1.337132{col 58} .4942251{col 70} 1.288384
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    152{col 22} .9342105{col 34} .1134364{col 46} 1.398538{col 58}  .710083{col 70} 1.158338
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0615258{col 34} .2411718{col 58}-.4175222{col 70} .5405739
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.2551
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 91.1441

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6004         {txt}Pr(|T| > |t|) = {res}0.7992          {txt}Pr(T > t) = {res}0.3996
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
               control       treat      t-stat
 Woman_own {res}  .11320755   .13043478   -.2921722
{txt}         . {res}          .           .   .77090532
{txt}   HUBZone {res}  .03773585   .02173913   .55916965
{txt}         . {res}          .           .   .57718505
{txt}  Minority {res}          0   .04347826  -1.4301939
{txt}         . {res}          .           .    .1595685
{txt}    yr_est {res}       2001    2001.087  -.03509543
{txt}         . {res}          .           .   .97214249
{txt}Employment {res}  14.878049    6.547619   1.9821621
{txt}         . {res}          .           .   .04970923
{txt} CBSA_SBIR {res}  14.349057   18.130435  -1.6966368
{txt}         . {res}          .           .   .09359036
{txt}SBIR_prior {res}  .95283019   .89130435   .25511205
{txt}         . {res}          .           .   .79921134
{reset}{com}. restore
. {c )-}
{txt}
{com}. ********************************************************************************
.         * Table B.3
. {c -(}
.         * Row A 
.                 * Full Sample, Full (NC & KY) Eligible (Row A, Column 1)
. preserve
. keep if state == "nc" | state == "ky"
{txt}(1,662 observations deleted)
{com}. gen stateNC = 1 if state == "nc"
{txt}(135 missing values generated)
{com}. recode stateNC (.=0)
{txt}(stateNC: 135 changes made)
{com}. keep if p1year > 2005
{txt}(328 observations deleted)
{com}. keep firm_id p1year smp1 WomanOwn_dum HUB_dum Minority_dum yr_est_full Emp_p1year p1cbsa_capacity_annual p1prior_capacity stateNC 
. sort firm_id p1year
. collapse (max) smp1 WomanOwn_dum HUB_dum Minority_dum yr_est_full Emp_p1year p1cbsa_capacity_annual p1prior_capacity stateNC, by (firm_id p1year)
. global observed WomanOwn_dum HUB_dum Minority_dum yr_est_full Emp_p1year p1cbsa_capacity_annual p1prior_capacity
. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ** Full Sample
.         drop if stateNC == 0 & p1year == 2006
{txt}  5{com}. ttest `x', by(smp1) unequal
{txt}  6{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  7{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  8{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  9{com}. {c )-}
T-test of means for WomanOwn_dum
{txt}(10 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    106{col 22} .0754717{col 34} .0257785{col 46} .2654058{col 58} .0243577{col 70} .1265857
       {txt}1 {c |}{res}{col 12}    198{col 22} .1111111{col 34} .0223908{col 46} .3150663{col 58} .0669547{col 70} .1552675
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    304{col 22} .0986842{col 34} .0171333{col 46} .2987293{col 58} .0649689{col 70} .1323995
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0356394{col 34}  .034145{col 58}-.1028905{col 70} .0316117
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.0438
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 247.969

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1488         {txt}Pr(|T| > |t|) = {res}0.2976          {txt}Pr(T > t) = {res}0.8512
T-test of means for HUB_dum
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    106{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
       {txt}1 {c |}{res}{col 12}    198{col 22}  .030303{col 34} .0122132{col 46} .1718544{col 58} .0062177{col 70} .0543883
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    304{col 22} .0197368{col 34} .0079908{col 46} .1393239{col 58} .0040124{col 70} .0354613
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -.030303{col 34} .0122132{col 58}-.0543883{col 70}-.0062177
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.4812
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}     197

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0070         {txt}Pr(|T| > |t|) = {res}0.0139          {txt}Pr(T > t) = {res}0.9930
T-test of means for Minority_dum
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    106{col 22} .0660377{col 34} .0242363{col 46} .2495279{col 58} .0179817{col 70} .1140938
       {txt}1 {c |}{res}{col 12}    198{col 22}  .030303{col 34} .0122132{col 46} .1718544{col 58} .0062177{col 70} .0543883
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    304{col 22} .0427632{col 34} .0116231{col 46} .2026563{col 58} .0198909{col 70} .0656354
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0357347{col 34} .0271396{col 58}-.0178644{col 70} .0893338
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.3167
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 159.612

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9051         {txt}Pr(|T| > |t|) = {res}0.1898          {txt}Pr(T > t) = {res}0.0949
T-test of means for yr_est_full
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    104{col 22} 2000.183{col 34} 1.184112{col 46} 12.07562{col 58} 1997.834{col 70} 2002.531
       {txt}1 {c |}{res}{col 12}    194{col 22} 2001.474{col 34} 1.029068{col 46} 14.33326{col 58} 1999.445{col 70} 2003.504
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    298{col 22} 2001.023{col 34} .7867485{col 46} 13.58138{col 58} 1999.475{col 70} 2002.572
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-1.291534{col 34}  1.56879{col 58} -4.38168{col 70} 1.798611
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.8233
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 243.279

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2056         {txt}Pr(|T| > |t|) = {res}0.4112          {txt}Pr(T > t) = {res}0.7944
T-test of means for Emp_p1year
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     86{col 22} 11.53488{col 34}  1.45321{col 46} 13.47651{col 58} 8.645513{col 70} 14.42425
       {txt}1 {c |}{res}{col 12}    167{col 22} 7.676647{col 34} .9825793{col 46} 12.69772{col 58} 5.736684{col 70}  9.61661
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    253{col 22} 8.988142{col 34} .8216952{col 46} 13.06986{col 58} 7.369877{col 70} 10.60641
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 3.858237{col 34} 1.754218{col 58} .3943207{col 70} 7.322153
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.1994
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 163.036

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9854         {txt}Pr(|T| > |t|) = {res}0.0293          {txt}Pr(T > t) = {res}0.0146
T-test of means for p1cbsa_capacity_annual
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    106{col 22} 20.24528{col 34} 1.362098{col 46} 14.02366{col 58} 17.54449{col 70} 22.94607
       {txt}1 {c |}{res}{col 12}    198{col 22} 21.73737{col 34} .9687781{col 46} 13.63192{col 58} 19.82687{col 70} 23.64788
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    304{col 22} 21.21711{col 34} .7894816{col 46} 13.76508{col 58} 19.66354{col 70} 22.77067
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-1.492091{col 34} 1.671479{col 58}-4.787163{col 70} 1.802981
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.8927
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 209.523

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1865         {txt}Pr(|T| > |t|) = {res}0.3731          {txt}Pr(T > t) = {res}0.8135
T-test of means for p1prior_capacity
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    106{col 22} 4.349057{col 34} .6017409{col 46} 6.195302{col 58} 3.155916{col 70} 5.542198
       {txt}1 {c |}{res}{col 12}    198{col 22} 2.893939{col 34} .3587729{col 46} 5.048382{col 58} 2.186411{col 70} 3.601468
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    304{col 22} 3.401316{col 34} .3159846{col 46}  5.50938{col 58} 2.779514{col 70} 4.023118
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 1.455117{col 34} .7005784{col 58}  .072753{col 70} 2.837481
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.0770
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 180.746

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9804         {txt}Pr(|T| > |t|) = {res}0.0392          {txt}Pr(T > t) = {res}0.0196
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
               control       treat      t-stat
 Woman_own {res}   .0754717   .11111111   -1.043768
{txt}         . {res}          .           .   .29760921
{txt}   HUBZone {res}          0   .03030303  -2.4811792
{txt}         . {res}          .           .   .01393239
{txt}  Minority {res}  .06603774   .03030303   1.3166989
{txt}         . {res}          .           .   .18982701
{txt}    yr_est {res}  2000.1827   2001.4742  -.82326779
{txt}         . {res}          .           .   .41116201
{txt}Employment {res}  11.534884   7.6766467   2.1994057
{txt}         . {res}          .           .   .02925664
{txt} CBSA_SBIR {res}  20.245283   21.737374  -.89267675
{txt}         . {res}          .           .   .37305441
{txt}SBIR_prior {res}  4.3490566   2.8939394   2.0770228
{txt}         . {res}          .           .   .03921358
{reset}{com}. restore
.         
.                 * Full Sample, North Carolina Eligible (Row A, Column 2)
. preserve
. keep if state == "nc" | state == "ky"
{txt}(1,662 observations deleted)
{com}. gen stateNC = 1 if state == "nc"
{txt}(135 missing values generated)
{com}. recode stateNC (.=0)
{txt}(stateNC: 135 changes made)
{com}. keep if p1year > 2005
{txt}(328 observations deleted)
{com}. keep firm_id p1year smp1 WomanOwn_dum HUB_dum Minority_dum yr_est_full Emp_p1year p1cbsa_capacity_annual p1prior_capacity stateNC 
. sort firm_id p1year
. collapse (max) smp1 WomanOwn_dum HUB_dum Minority_dum yr_est_full Emp_p1year p1cbsa_capacity_annual p1prior_capacity stateNC, by (firm_id p1year)
. global observed WomanOwn_dum HUB_dum Minority_dum yr_est_full Emp_p1year p1cbsa_capacity_annual p1prior_capacity
. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ** NC sample
.         keep if stateNC == 1 
{txt}  5{com}. ttest `x', by(smp1) unequal
{txt}  6{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  7{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  8{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  9{com}. {c )-}
T-test of means for WomanOwn_dum
{txt}(66 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     84{col 22} .0714286{col 34} .0282686{col 46} .2590862{col 58} .0152034{col 70} .1276537
       {txt}1 {c |}{res}{col 12}    164{col 22} .1158537{col 34} .0250682{col 46} .3210296{col 58} .0663534{col 70} .1653539
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    248{col 22} .1008065{col 34} .0191568{col 46} .3016811{col 58}  .063075{col 70} .1385379
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0444251{col 34} .0377827{col 58}-.1189253{col 70} .0300752
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.1758
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 201.437

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1205         {txt}Pr(|T| > |t|) = {res}0.2411          {txt}Pr(T > t) = {res}0.8795
T-test of means for HUB_dum
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     84{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
       {txt}1 {c |}{res}{col 12}    164{col 22} .0304878{col 34} .0134662{col 46} .1724518{col 58} .0038971{col 70} .0570785
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    248{col 22} .0201613{col 34} .0089431{col 46}  .140836{col 58} .0025468{col 70} .0377757
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0304878{col 34} .0134662{col 58}-.0570785{col 70}-.0038971
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.2640
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}     163

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0124         {txt}Pr(|T| > |t|) = {res}0.0249          {txt}Pr(T > t) = {res}0.9876
T-test of means for Minority_dum
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     84{col 22} .0238095{col 34} .0167341{col 46}  .153371{col 58} -.009474{col 70} .0570931
       {txt}1 {c |}{res}{col 12}    164{col 22} .0182927{col 34} .0104963{col 46} .1344181{col 58}-.0024336{col 70} .0390189
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    248{col 22} .0201613{col 34} .0089431{col 46}  .140836{col 58} .0025468{col 70} .0377757
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0055168{col 34} .0197536{col 58}-.0335157{col 70} .0445494
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.2793
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 149.382

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6098         {txt}Pr(|T| > |t|) = {res}0.7804          {txt}Pr(T > t) = {res}0.3902
T-test of means for yr_est_full
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     82{col 22} 2000.878{col 34} .6832601{col 46} 6.187184{col 58} 1999.519{col 70} 2002.238
       {txt}1 {c |}{res}{col 12}    161{col 22} 2002.298{col 34} .4020372{col 46}  5.10128{col 58} 2001.504{col 70} 2003.092
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    243{col 22} 2001.819{col 34} .3541129{col 46} 5.520073{col 58} 2001.121{col 70} 2002.516
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-1.420088{col 34} .7927662{col 58}-2.987587{col 70} .1474116
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.7913
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}   138.4

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0377         {txt}Pr(|T| > |t|) = {res}0.0754          {txt}Pr(T > t) = {res}0.9623
T-test of means for Emp_p1year
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     69{col 22} 11.02899{col 34} 1.417972{col 46} 11.77856{col 58} 8.199467{col 70}  13.8585
       {txt}1 {c |}{res}{col 12}    143{col 22} 7.111888{col 34}  .820794{col 46} 9.815269{col 58} 5.489333{col 70} 8.734443
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    212{col 22} 8.386792{col 34} .7298561{col 46} 10.62686{col 58} 6.948049{col 70} 9.825536
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 3.917097{col 34} 1.638398{col 58} .6717529{col 70} 7.162442
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.3908
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  115.02

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9908         {txt}Pr(|T| > |t|) = {res}0.0184          {txt}Pr(T > t) = {res}0.0092
T-test of means for p1cbsa_capacity_annual
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     84{col 22}  22.4881{col 34} 1.613776{col 46}  14.7905{col 58} 19.27836{col 70} 25.69783
       {txt}1 {c |}{res}{col 12}    164{col 22} 24.45122{col 34}  1.03465{col 46} 13.24998{col 58} 22.40817{col 70} 26.49426
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    248{col 22} 23.78629{col 34} .8758256{col 46} 13.79252{col 58} 22.06125{col 70} 25.51133
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-1.963124{col 34}  1.91697{col 58}-5.750436{col 70} 1.824188
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.0241
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 152.167

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1537         {txt}Pr(|T| > |t|) = {res}0.3074          {txt}Pr(T > t) = {res}0.8463
T-test of means for p1prior_capacity
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     84{col 22} 4.440476{col 34} .6944892{col 46} 6.365099{col 58} 3.059165{col 70} 5.821787
       {txt}1 {c |}{res}{col 12}    164{col 22}     3.25{col 34} .4217432{col 46} 5.400949{col 58} 2.417215{col 70} 4.082785
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    248{col 22} 3.653226{col 34} .3657896{col 46}  5.76046{col 58} 2.932761{col 70}  4.37369
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 1.190476{col 34} .8125163{col 58} -.415389{col 70} 2.796341
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.4652
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 145.434

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9275         {txt}Pr(|T| > |t|) = {res}0.1450          {txt}Pr(T > t) = {res}0.0725
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
               control       treat      t-stat
 Woman_own {res}  .07142857   .11585366  -1.1758062
{txt}         . {res}          .           .   .24106012
{txt}   HUBZone {res}          0    .0304878  -2.2640199
{txt}         . {res}          .           .    .0248914
{txt}  Minority {res}  .02380952   .01829268   .27928312
{txt}         . {res}          .           .   .78041385
{txt}    yr_est {res}   2000.878   2002.2981  -1.7913072
{txt}         . {res}          .           .   .07542938
{txt}Employment {res}  11.028986   7.1118881   2.3908099
{txt}         . {res}          .           .    .0184345
{txt} CBSA_SBIR {res}  22.488095    24.45122  -1.0240769
{txt}         . {res}          .           .   .30742423
{txt}SBIR_prior {res}  4.4404762        3.25   1.4651722
{txt}         . {res}          .           .   .14503249
{reset}{com}. restore
.                 
.                 * Full Sample, Kentucky Eligible (Row A, Column 3)
. preserve
. keep if state == "nc" | state == "ky"
{txt}(1,662 observations deleted)
{com}. gen stateNC = 1 if state == "nc"
{txt}(135 missing values generated)
{com}. recode stateNC (.=0)
{txt}(stateNC: 135 changes made)
{com}. keep if p1year > 2005
{txt}(328 observations deleted)
{com}. keep firm_id p1year smp1 WomanOwn_dum HUB_dum Minority_dum yr_est_full Emp_p1year p1cbsa_capacity_annual p1prior_capacity stateNC 
. sort firm_id p1year
. collapse (max) smp1 WomanOwn_dum HUB_dum Minority_dum yr_est_full Emp_p1year p1cbsa_capacity_annual p1prior_capacity stateNC, by (firm_id p1year)
. global observed WomanOwn_dum HUB_dum Minority_dum yr_est_full Emp_p1year p1cbsa_capacity_annual p1prior_capacity
. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ** KY Sample
.         keep if p1year > 2006 & stateNC == 0
{txt}  5{com}. ttest `x', by(smp1) unequal
{txt}  6{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  7{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  8{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  9{com}. {c )-}
T-test of means for WomanOwn_dum
{txt}(258 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     22{col 22} .0909091{col 34} .0627332{col 46} .2942449{col 58}-.0395518{col 70}   .22137
       {txt}1 {c |}{res}{col 12}     34{col 22} .0882353{col 34} .0493748{col 46} .2879022{col 58}-.0122185{col 70} .1886891
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     56{col 22} .0892857{col 34} .0384504{col 46} .2877364{col 58} .0122294{col 70}  .166342
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0026738{col 34} .0798332{col 58} -.158192{col 70} .1635396
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.0335
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 44.2663

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5133         {txt}Pr(|T| > |t|) = {res}0.9734          {txt}Pr(T > t) = {res}0.4867
T-test of means for HUB_dum
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     22{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
       {txt}1 {c |}{res}{col 12}     34{col 22} .0294118{col 34} .0294118{col 46} .1714986{col 58}-.0304269{col 70} .0892504
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     56{col 22} .0178571{col 34} .0178571{col 46} .1336306{col 58}-.0179294{col 70} .0536437
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0294118{col 34} .0294118{col 58}-.0892504{col 70} .0304269
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.0000
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}      33

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1623         {txt}Pr(|T| > |t|) = {res}0.3246          {txt}Pr(T > t) = {res}0.8377
T-test of means for Minority_dum
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     22{col 22} .2272727{col 34} .0914486{col 46}  .428932{col 58} .0370949{col 70} .4174505
       {txt}1 {c |}{res}{col 12}     34{col 22} .0882353{col 34} .0493748{col 46} .2879022{col 58}-.0122185{col 70} .1886891
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     56{col 22} .1428571{col 34} .0471842{col 46} .3530939{col 58}  .048298{col 70} .2374163
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .1390374{col 34} .1039265{col 58}-.0723468{col 70} .3504217
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.3378
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  33.231

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9050         {txt}Pr(|T| > |t|) = {res}0.1900          {txt}Pr(T > t) = {res}0.0950
T-test of means for yr_est_full
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     22{col 22} 1997.591{col 34} 5.039094{col 46} 23.63544{col 58} 1987.112{col 70}  2008.07
       {txt}1 {c |}{res}{col 12}     33{col 22} 1997.455{col 34} 5.744248{col 46} 32.99819{col 58} 1985.754{col 70} 2009.155
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     55{col 22} 1997.509{col 34} 3.960059{col 46} 29.36859{col 58}  1989.57{col 70} 2005.449
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .1363636{col 34}  7.64126{col 58} -15.1923{col 70} 15.46502
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.0178
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  52.671

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5071         {txt}Pr(|T| > |t|) = {res}0.9858          {txt}Pr(T > t) = {res}0.4929
T-test of means for Emp_p1year
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     17{col 22} 13.58824{col 34} 4.662948{col 46} 19.22583{col 58} 3.703228{col 70} 23.47324
       {txt}1 {c |}{res}{col 12}     24{col 22} 11.04167{col 34} 4.809215{col 46} 23.56025{col 58} 1.093048{col 70} 20.99029
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     41{col 22} 12.09756{col 34} 3.380865{col 46}  21.6481{col 58} 5.264577{col 70} 18.93054
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 2.546569{col 34} 6.698629{col 58}-11.01258{col 70} 16.10572
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.3802
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 38.1299

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6470         {txt}Pr(|T| > |t|) = {res}0.7059          {txt}Pr(T > t) = {res}0.3530
T-test of means for p1cbsa_capacity_annual
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     22{col 22} 11.68182{col 34} .9943267{col 46} 4.663806{col 58} 9.614003{col 70} 13.74963
       {txt}1 {c |}{res}{col 12}     34{col 22} 8.647059{col 34} .9239171{col 46} 5.387316{col 58} 6.767335{col 70} 10.52678
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     56{col 22} 9.839286{col 34} .7065449{col 46} 5.287298{col 58} 8.423338{col 70} 11.25523
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 3.034759{col 34} 1.357317{col 58} .3077657{col 70} 5.761753
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.2359
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 49.4561

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9850         {txt}Pr(|T| > |t|) = {res}0.0299          {txt}Pr(T > t) = {res}0.0150
T-test of means for p1prior_capacity
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     22{col 22}        4{col 34} 1.198845{col 46} 5.623082{col 58} 1.506865{col 70} 6.493135
       {txt}1 {c |}{res}{col 12}     34{col 22} 1.176471{col 34} .3594177{col 46} 2.095747{col 58} .4452298{col 70} 1.907711
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     56{col 22} 2.285714{col 34} .5451762{col 46} 4.079725{col 58} 1.193157{col 70} 3.378272
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 2.823529{col 34} 1.251563{col 58} .2449232{col 70} 5.402136
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.2560
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 24.8171

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9834         {txt}Pr(|T| > |t|) = {res}0.0331          {txt}Pr(T > t) = {res}0.0166
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
              control      treat     t-stat
 Woman_own {res} .09090909  .08823529  .03349231
{txt}         . {res}         .          .  .97343256
{txt}   HUBZone {res}         0  .02941176         -1
{txt}         . {res}         .          .  .32458713
{txt}  Minority {res} .22727273  .08823529  1.3378436
{txt}         . {res}         .          .  .19003142
{txt}    yr_est {res} 1997.5909  1997.4545   .0178457
{txt}         . {res}         .          .  .98582938
{txt}Employment {res} 13.588235  11.041667  .38016267
{txt}         . {res}         .          .  .70593417
{txt} CBSA_SBIR {res} 11.681818  8.6470588  2.2358523
{txt}         . {res}         .          .  .02990577
{txt}SBIR_prior {res}         4  1.1764706  2.2560022
{txt}         . {res}         .          .   .0331366
{reset}{com}. restore
. 
.         * Row B 
.                 * Less than 5 prior Sample, Full (NC & KY) Eligible (Row B, Column 1)
. preserve
. keep if state == "nc" | state == "ky"
{txt}(1,662 observations deleted)
{com}. gen stateNC = 1 if state == "nc"
{txt}(135 missing values generated)
{com}. recode stateNC (.=0)
{txt}(stateNC: 135 changes made)
{com}. keep if p1year > 2005
{txt}(328 observations deleted)
{com}. keep firm_id p1year smp1 WomanOwn_dum HUB_dum Minority_dum yr_est_full Emp_p1year p1cbsa_capacity_annual p1prior_capacity stateNC 
. sort firm_id p1year
. collapse (max) smp1 WomanOwn_dum HUB_dum Minority_dum yr_est_full Emp_p1year p1cbsa_capacity_annual p1prior_capacity stateNC, by (firm_id p1year)
. global observed WomanOwn_dum HUB_dum Minority_dum yr_est_full Emp_p1year p1cbsa_capacity_annual p1prior_capacity
. * Stratify
. keep if p1prior_capacity < 6
{txt}(63 observations deleted)
{com}. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ** Full Sample
.         drop if stateNC == 0 & p1year == 2006
{txt}  5{com}. ttest `x', by(smp1) unequal
{txt}  6{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  7{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  8{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  9{com}. {c )-}
T-test of means for WomanOwn_dum
{txt}(8 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     78{col 22} .0897436{col 34} .0325715{col 46}  .287664{col 58} .0248854{col 70} .1546018
       {txt}1 {c |}{res}{col 12}    165{col 22} .1090909{col 34} .0243438{col 46} .3127023{col 58} .0610232{col 70} .1571587
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    243{col 22} .1028807{col 34} .0195292{col 46}   .30443{col 58} .0644118{col 70} .1413496
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0193473{col 34} .0406636{col 58}-.0996421{col 70} .0609475
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.4758
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 163.149

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3174         {txt}Pr(|T| > |t|) = {res}0.6349          {txt}Pr(T > t) = {res}0.6826
T-test of means for HUB_dum
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     78{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
       {txt}1 {c |}{res}{col 12}    165{col 22} .0363636{col 34} .0146173{col 46} .1877631{col 58} .0075012{col 70} .0652261
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    243{col 22} .0246914{col 34} .0099755{col 46} .1555031{col 58} .0050414{col 70} .0443413
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0363636{col 34} .0146173{col 58}-.0652261{col 70}-.0075012
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.4877
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}     164

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0069         {txt}Pr(|T| > |t|) = {res}0.0139          {txt}Pr(T > t) = {res}0.9931
T-test of means for Minority_dum
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     78{col 22} .0769231{col 34}  .030367{col 46} .2681941{col 58} .0164547{col 70} .1373915
       {txt}1 {c |}{res}{col 12}    165{col 22} .0363636{col 34} .0146173{col 46} .1877631{col 58} .0075012{col 70} .0652261
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    243{col 22} .0493827{col 34} .0139278{col 46}  .217113{col 58} .0219475{col 70} .0768179
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0405594{col 34} .0337019{col 58}-.0262042{col 70} .1073231
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.2035
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 113.944

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8844         {txt}Pr(|T| > |t|) = {res}0.2313          {txt}Pr(T > t) = {res}0.1156
T-test of means for yr_est_full
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     76{col 22} 2001.079{col 34} 1.548713{col 46} 13.50137{col 58} 1997.994{col 70} 2004.164
       {txt}1 {c |}{res}{col 12}    161{col 22} 2001.845{col 34} 1.229381{col 46}  15.5991{col 58} 1999.417{col 70} 2004.273
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    237{col 22} 2001.599{col 34} .9700783{col 46} 14.93417{col 58} 1999.688{col 70}  2003.51
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.7657731{col 34} 1.977345{col 58}-4.669413{col 70} 3.137867
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.3873
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 168.026

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3495         {txt}Pr(|T| > |t|) = {res}0.6990          {txt}Pr(T > t) = {res}0.6505
T-test of means for Emp_p1year
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     63{col 22} 9.634921{col 34} 1.676668{col 46} 13.30814{col 58}  6.28331{col 70} 12.98653
       {txt}1 {c |}{res}{col 12}    142{col 22}  7.15493{col 34} 1.130806{col 46} 13.47511{col 58} 4.919403{col 70} 9.390456
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    205{col 22} 7.917073{col 34} .9387201{col 46} 13.44043{col 58} 6.066236{col 70} 9.767911
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 2.479991{col 34} 2.022359{col 58}-1.524042{col 70} 6.484024
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.2263
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 120.288

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8888         {txt}Pr(|T| > |t|) = {res}0.2225          {txt}Pr(T > t) = {res}0.1112
T-test of means for p1cbsa_capacity_annual
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     78{col 22} 20.16667{col 34}  1.59716{col 46} 14.10574{col 58} 16.98631{col 70} 23.34702
       {txt}1 {c |}{res}{col 12}    165{col 22} 20.99394{col 34} 1.069551{col 46} 13.73863{col 58} 18.88207{col 70}  23.1058
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    243{col 22}  20.7284{col 34} .8874345{col 46} 13.83373{col 58} 18.98031{col 70} 22.47648
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.8272727{col 34} 1.922202{col 58}-4.625863{col 70} 2.971317
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.4304
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 147.608

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3338         {txt}Pr(|T| > |t|) = {res}0.6675          {txt}Pr(T > t) = {res}0.6662
T-test of means for p1prior_capacity
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     78{col 22} 1.153846{col 34} .1505644{col 46} 1.329749{col 58} .8540341{col 70} 1.453658
       {txt}1 {c |}{res}{col 12}    165{col 22} 1.024242{col 34} .1090683{col 46} 1.401008{col 58} .8088832{col 70} 1.239602
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    243{col 22} 1.065844{col 34} .0883426{col 46} 1.377125{col 58}  .891825{col 70} 1.239862
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .1296037{col 34} .1859181{col 58}-.2375923{col 70} .4967998
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.6971
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  158.52

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7566         {txt}Pr(|T| > |t|) = {res}0.4868          {txt}Pr(T > t) = {res}0.2434
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
               control       treat      t-stat
 Woman_own {res}  .08974359   .10909091  -.47578978
{txt}         . {res}          .           .   .63486061
{txt}   HUBZone {res}          0   .03636364  -2.4877056
{txt}         . {res}          .           .   .01385651
{txt}  Minority {res}  .07692308   .03636364   1.2034746
{txt}         . {res}          .           .    .2312871
{txt}    yr_est {res}  2001.0789   2001.8447  -.38727346
{txt}         . {res}          .           .   .69904387
{txt}Employment {res}  9.6349206   7.1549296   1.2262861
{txt}         . {res}          .           .    .2224862
{txt} CBSA_SBIR {res}  20.166667   20.993939  -.43037763
{txt}         . {res}          .           .   .66754869
{txt}SBIR_prior {res}  1.1538462   1.0242424   .69710122
{txt}         . {res}          .           .   .48676051
{reset}{com}. restore
.         
.                 * Less than 5 prior Sample, North Carolina Eligible (Row B, Column 2)
. preserve
. keep if state == "nc" | state == "ky"
{txt}(1,662 observations deleted)
{com}. gen stateNC = 1 if state == "nc"
{txt}(135 missing values generated)
{com}. recode stateNC (.=0)
{txt}(stateNC: 135 changes made)
{com}. keep if p1year > 2005
{txt}(328 observations deleted)
{com}. keep firm_id p1year smp1 WomanOwn_dum HUB_dum Minority_dum yr_est_full Emp_p1year p1cbsa_capacity_annual p1prior_capacity stateNC 
. sort firm_id p1year
. collapse (max) smp1 WomanOwn_dum HUB_dum Minority_dum yr_est_full Emp_p1year p1cbsa_capacity_annual p1prior_capacity stateNC, by (firm_id p1year)
. global observed WomanOwn_dum HUB_dum Minority_dum yr_est_full Emp_p1year p1cbsa_capacity_annual p1prior_capacity
. * Stratify
. keep if p1prior_capacity < 6
{txt}(63 observations deleted)
{com}. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ** NC sample
.         keep if stateNC == 1 
{txt}  5{com}. ttest `x', by(smp1) unequal
{txt}  6{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  7{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  8{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  9{com}. {c )-}
T-test of means for WomanOwn_dum
{txt}(56 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     62{col 22} .0806452{col 34} .0348631{col 46} .2745122{col 58} .0109321{col 70} .1503582
       {txt}1 {c |}{res}{col 12}    133{col 22}  .112782{col 34} .0275327{col 46}  .317522{col 58} .0583197{col 70} .1672443
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    195{col 22} .1025641{col 34}  .021782{col 46} .3041696{col 58} .0596041{col 70} .1455241
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0321368{col 34} .0444239{col 58}-.1199859{col 70} .0557123
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.7234
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 136.314

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2353         {txt}Pr(|T| > |t|) = {res}0.4707          {txt}Pr(T > t) = {res}0.7647
T-test of means for HUB_dum
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     62{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
       {txt}1 {c |}{res}{col 12}    133{col 22}  .037594{col 34} .0165558{col 46} .1909313{col 58} .0048449{col 70} .0703431
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    195{col 22}  .025641{col 34} .0113482{col 46} .1584687{col 58} .0032594{col 70} .0480227
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -.037594{col 34} .0165558{col 58}-.0703431{col 70}-.0048449
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.2707
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}     132

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0124         {txt}Pr(|T| > |t|) = {res}0.0248          {txt}Pr(T > t) = {res}0.9876
T-test of means for Minority_dum
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     62{col 22} .0322581{col 34} .0226222{col 46}  .178127{col 58}-.0129777{col 70} .0774939
       {txt}1 {c |}{res}{col 12}    133{col 22} .0225564{col 34} .0129239{col 46} .1490457{col 58}-.0030084{col 70} .0481211
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    195{col 22}  .025641{col 34} .0113482{col 46} .1584687{col 58} .0032594{col 70} .0480227
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0097017{col 34} .0260536{col 58}-.0419738{col 70} .0613771
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.3724
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 102.281

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6448         {txt}Pr(|T| > |t|) = {res}0.7104          {txt}Pr(T > t) = {res}0.3552
T-test of means for yr_est_full
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     60{col 22}  2001.75{col 34} .8066199{col 46} 6.248051{col 58} 2000.136{col 70} 2003.364
       {txt}1 {c |}{res}{col 12}    130{col 22} 2002.931{col 34} .4440273{col 46}  5.06269{col 58} 2002.052{col 70} 2003.809
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    190{col 22} 2002.558{col 34} .3972498{col 46}  5.47571{col 58} 2001.774{col 70} 2003.342
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-1.180769{col 34} .9207583{col 58}-3.008427{col 70} .6468882
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.2824
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 96.1374

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1014         {txt}Pr(|T| > |t|) = {res}0.2028          {txt}Pr(T > t) = {res}0.8986
T-test of means for Emp_p1year
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     52{col 22} 8.903846{col 34} 1.559832{col 46} 11.24811{col 58} 5.772352{col 70} 12.03534
       {txt}1 {c |}{res}{col 12}    120{col 22} 6.341667{col 34}  .931964{col 46} 10.20915{col 58} 4.496285{col 70} 8.187048
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    172{col 22} 7.116279{col 34} .8057169{col 46} 10.56688{col 58} 5.525847{col 70} 8.706711
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 2.562179{col 34}  1.81704{col 58}-1.048213{col 70} 6.172572
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.4101
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 89.0477

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9190         {txt}Pr(|T| > |t|) = {res}0.1620          {txt}Pr(T > t) = {res}0.0810
T-test of means for p1cbsa_capacity_annual
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     62{col 22} 22.67742{col 34} 1.858389{col 46} 14.63297{col 58} 18.96134{col 70}  26.3935
       {txt}1 {c |}{res}{col 12}    133{col 22} 23.96992{col 34} 1.167794{col 46} 13.46766{col 58} 21.65991{col 70} 26.27994
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    195{col 22} 23.55897{col 34} .9899585{col 46} 13.82402{col 58} 21.60651{col 70} 25.51144
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-1.292505{col 34} 2.194847{col 58}-5.641867{col 70} 3.056856
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.5889
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 110.709

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2786         {txt}Pr(|T| > |t|) = {res}0.5571          {txt}Pr(T > t) = {res}0.7214
T-test of means for p1prior_capacity
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     62{col 22}  1.16129{col 34} .1677196{col 46} 1.320625{col 58} .8259143{col 70} 1.496666
       {txt}1 {c |}{res}{col 12}    133{col 22} 1.090226{col 34} .1264959{col 46} 1.458822{col 58} .8400042{col 70} 1.340447
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    195{col 22} 1.112821{col 34}  .101211{col 46} 1.413335{col 58} .9132053{col 70} 1.312436
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0710648{col 34} .2100739{col 58}-.3445233{col 70} .4866528
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.3383
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 130.606

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6322         {txt}Pr(|T| > |t|) = {res}0.7357          {txt}Pr(T > t) = {res}0.3678
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
               control       treat      t-stat
 Woman_own {res}  .08064516   .11278195  -.72341249
{txt}         . {res}          .           .   .47066603
{txt}   HUBZone {res}          0   .03759398  -2.2707378
{txt}         . {res}          .           .   .02478239
{txt}  Minority {res}  .03225806   .02255639   .37237385
{txt}         . {res}          .           .   .71038498
{txt}    yr_est {res}    2001.75   2002.9308  -1.2823878
{txt}         . {res}          .           .   .20279018
{txt}Employment {res}  8.9038462   6.3416667   1.4100844
{txt}         . {res}          .           .   .16199816
{txt} CBSA_SBIR {res}  22.677419   23.969925  -.58888187
{txt}         . {res}          .           .   .55714017
{txt}SBIR_prior {res}  1.1612903   1.0902256   .33828449
{txt}         . {res}          .           .   .73569199
{reset}{com}. restore
.                 
.                 * Less than 5 prior Sample, Kentucky Eligible (Row B, Column 3)
. preserve
. keep if state == "nc" | state == "ky"
{txt}(1,662 observations deleted)
{com}. gen stateNC = 1 if state == "nc"
{txt}(135 missing values generated)
{com}. recode stateNC (.=0)
{txt}(stateNC: 135 changes made)
{com}. keep if p1year > 2005
{txt}(328 observations deleted)
{com}. keep firm_id p1year smp1 WomanOwn_dum HUB_dum Minority_dum yr_est_full Emp_p1year p1cbsa_capacity_annual p1prior_capacity stateNC 
. sort firm_id p1year
. collapse (max) smp1 WomanOwn_dum HUB_dum Minority_dum yr_est_full Emp_p1year p1cbsa_capacity_annual p1prior_capacity stateNC, by (firm_id p1year)
. global observed WomanOwn_dum HUB_dum Minority_dum yr_est_full Emp_p1year p1cbsa_capacity_annual p1prior_capacity
. * Stratify
. keep if p1prior_capacity < 6
{txt}(63 observations deleted)
{com}. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ** KY Sample
.         keep if p1year > 2006 & stateNC == 0
{txt}  5{com}. ttest `x', by(smp1) unequal
{txt}  6{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  7{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  8{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  9{com}. {c )-}
T-test of means for WomanOwn_dum
{txt}(203 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     16{col 22}     .125{col 34} .0853913{col 46}  .341565{col 58}-.0570072{col 70} .3070072
       {txt}1 {c |}{res}{col 12}     32{col 22}   .09375{col 34} .0523515{col 46} .2961446{col 58}-.0130215{col 70} .2005215
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     48{col 22} .1041667{col 34} .0445583{col 46} .3087093{col 58} .0145268{col 70} .1938065
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}   .03125{col 34} .1001616{col 58}-.1744173{col 70} .2369173
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.3120
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 26.5782

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6213         {txt}Pr(|T| > |t|) = {res}0.7575          {txt}Pr(T > t) = {res}0.3787
T-test of means for HUB_dum
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     16{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
       {txt}1 {c |}{res}{col 12}     32{col 22}   .03125{col 34}   .03125{col 46} .1767767{col 58}-.0324848{col 70} .0949848
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     48{col 22} .0208333{col 34} .0208333{col 46} .1443376{col 58}-.0210779{col 70} .0627446
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  -.03125{col 34}   .03125{col 58}-.0949848{col 70} .0324848
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.0000
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}      31

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1625         {txt}Pr(|T| > |t|) = {res}0.3251          {txt}Pr(T > t) = {res}0.8375
T-test of means for Minority_dum
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     16{col 22}      .25{col 34} .1118034{col 46} .4472136{col 58} .0116967{col 70} .4883033
       {txt}1 {c |}{res}{col 12}     32{col 22}   .09375{col 34} .0523515{col 46} .2961446{col 58}-.0130215{col 70} .2005215
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     48{col 22} .1458333{col 34} .0514815{col 46}  .356674{col 58}  .042266{col 70} .2494007
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}   .15625{col 34} .1234531{col 58} -.099918{col 70}  .412418
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.2657
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 21.7918

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8905         {txt}Pr(|T| > |t|) = {res}0.2190          {txt}Pr(T > t) = {res}0.1095
T-test of means for yr_est_full
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     16{col 22} 1998.563{col 34} 6.843469{col 46} 27.37388{col 58} 1983.976{col 70} 2013.149
       {txt}1 {c |}{res}{col 12}     31{col 22}  1997.29{col 34} 6.119806{col 46} 34.07364{col 58} 1984.792{col 70} 2009.789
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     47{col 22} 1997.723{col 34} 4.617036{col 46} 31.65281{col 58}  1988.43{col 70} 2007.017
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 1.272177{col 34} 9.180692{col 58}-17.33287{col 70} 19.87723
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.1386
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 36.8125

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5547         {txt}Pr(|T| > |t|) = {res}0.8905          {txt}Pr(T > t) = {res}0.4453
T-test of means for Emp_p1year
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     11{col 22} 13.09091{col 34} 6.302171{col 46} 20.90194{col 58}-.9512023{col 70} 27.13302
       {txt}1 {c |}{res}{col 12}     22{col 22} 11.59091{col 34} 5.240394{col 46} 24.57963{col 58} .6929135{col 70}  22.4889
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     33{col 22} 12.09091{col 34} 4.020865{col 46} 23.09811{col 58} 3.900675{col 70} 20.28114
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}      1.5{col 34} 8.196285{col 58}-15.44307{col 70} 18.44307
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.1830
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 23.3041

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5718         {txt}Pr(|T| > |t|) = {res}0.8564          {txt}Pr(T > t) = {res}0.4282
T-test of means for p1cbsa_capacity_annual
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     16{col 22}  10.4375{col 34} 1.214389{col 46} 4.857554{col 58} 7.849092{col 70} 13.02591
       {txt}1 {c |}{res}{col 12}     32{col 22}    8.625{col 34} .9731786{col 46}  5.50513{col 58} 6.640189{col 70} 10.60981
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     48{col 22} 9.229167{col 34} .7673753{col 46} 5.316532{col 58} 7.685407{col 70} 10.77293
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}   1.8125{col 34} 1.556219{col 58}-1.351075{col 70} 4.976075
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.1647
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 33.7227

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8738         {txt}Pr(|T| > |t|) = {res}0.2523          {txt}Pr(T > t) = {res}0.1262
T-test of means for p1prior_capacity
{txt}(0 observations deleted)

Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     16{col 22}    1.125{col 34} .3520772{col 46} 1.408309{col 58} .3745653{col 70} 1.875435
       {txt}1 {c |}{res}{col 12}     32{col 22}      .75{col 34} .1957203{col 46} 1.107161{col 58} .3508257{col 70} 1.149174
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     48{col 22}     .875{col 34} .1752025{col 46} 1.213839{col 58}  .522538{col 70} 1.227462
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}     .375{col 34}  .402821{col 58}-.4553657{col 70} 1.205366
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.9309
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  24.568

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8195         {txt}Pr(|T| > |t|) = {res}0.3609          {txt}Pr(T > t) = {res}0.1805
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
              control      treat     t-stat
 Woman_own {res}      .125     .09375  .31199588
{txt}         . {res}         .          .  .75747816
{txt}   HUBZone {res}         0     .03125         -1
{txt}         . {res}         .          .  .32505273
{txt}  Minority {res}       .25     .09375  1.2656625
{txt}         . {res}         .          .  .21899904
{txt}    yr_est {res} 1998.5625  1997.2903  .13857098
{txt}         . {res}         .          .  .89054445
{txt}Employment {res} 13.090909  11.590909  .18300975
{txt}         . {res}         .          .  .85637324
{txt} CBSA_SBIR {res}   10.4375      8.625  1.1646822
{txt}         . {res}         .          .  .25232092
{txt}SBIR_prior {res}     1.125        .75  .93093451
{txt}         . {res}         .          .   .3609457
{reset}{com}. restore         
. {c )-}       
{txt}
{com}.         
. ********************************************************************************
. ** Appendix C: No regression results reported.
. ********************************************************************************
. ** Appendix D   
.         * Figure D.1
. {c -(}
.         * Flatter line
. preserve
. quietly logit phase2 c.smp1amt_pd_10k, cluster(firm_id) nolog 
. margins, dydx(*)
{res}
{txt}Average marginal effects{col 49}Number of obs{col 67}= {res}       224
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Pr(phase2), predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:dy/dx w.r.t.}:{space 1}{res:smp1amt_pd_10k}{p_end}
{p2colreset}{...}

{res}{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28} Delta-method
{col 16}{c |}      dy/dx{col 28}   Std. Err.{col 40}      z{col 48}   P>|z|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
smp1amt_pd_10k {c |}{col 16}{res}{space 2} .0191185{col 28}{space 2} .0139244{col 39}{space 1}    1.37{col 48}{space 3}0.170{col 56}{space 4}-.0081729{col 69}{space 3} .0464098
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. margins, at(smp1amt_pd_10k=(3(1)13)) vsquish
{res}
{txt}Adjusted predictions{col 49}Number of obs{col 67}= {res}       224
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Pr(phase2), predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:smp1amt_~10k}{space 4}{txt:=} {space 10}3}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:smp1amt_~10k}{space 4}{txt:=} {space 10}4}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:3._at}:{space 1}{res:{txt:smp1amt_~10k}{space 4}{txt:=} {space 10}5}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:4._at}:{space 1}{res:{txt:smp1amt_~10k}{space 4}{txt:=} {space 10}6}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:5._at}:{space 1}{res:{txt:smp1amt_~10k}{space 4}{txt:=} {space 10}7}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:6._at}:{space 1}{res:{txt:smp1amt_~10k}{space 4}{txt:=} {space 10}8}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:7._at}:{space 1}{res:{txt:smp1amt_~10k}{space 4}{txt:=} {space 10}9}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:8._at}:{space 1}{res:{txt:smp1amt_~10k}{space 4}{txt:=} {space 9}10}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:9._at}:{space 1}{res:{txt:smp1amt_~10k}{space 4}{txt:=} {space 9}11}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:10._at}:{space 1}{res:{txt:smp1amt_~10k}{space 4}{txt:=} {space 9}12}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:11._at}:{space 1}{res:{txt:smp1amt_~10k}{space 4}{txt:=} {space 9}13}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .3800916{col 26}{space 2} .0663904{col 37}{space 1}    5.73{col 46}{space 3}0.000{col 54}{space 4} .2499688{col 67}{space 3} .5102144
{txt}{space 10}2  {c |}{col 14}{res}{space 2}   .39854{col 26}{space 2} .0558757{col 37}{space 1}    7.13{col 46}{space 3}0.000{col 54}{space 4} .2890256{col 67}{space 3} .5080543
{txt}{space 10}3  {c |}{col 14}{res}{space 2}  .417281{col 26}{space 2} .0460619{col 37}{space 1}    9.06{col 46}{space 3}0.000{col 54}{space 4} .3270013{col 67}{space 3} .5075607
{txt}{space 10}4  {c |}{col 14}{res}{space 2} .4362641{col 26}{space 2} .0381307{col 37}{space 1}   11.44{col 46}{space 3}0.000{col 54}{space 4} .3615293{col 67}{space 3}  .510999
{txt}{space 10}5  {c |}{col 14}{res}{space 2} .4554359{col 26}{space 2} .0340027{col 37}{space 1}   13.39{col 46}{space 3}0.000{col 54}{space 4} .3887918{col 67}{space 3}   .52208
{txt}{space 10}6  {c |}{col 14}{res}{space 2} .4747406{col 26}{space 2} .0354055{col 37}{space 1}   13.41{col 46}{space 3}0.000{col 54}{space 4} .4053471{col 67}{space 3} .5441342
{txt}{space 10}7  {c |}{col 14}{res}{space 2} .4941212{col 26}{space 2} .0419225{col 37}{space 1}   11.79{col 46}{space 3}0.000{col 54}{space 4} .4119546{col 67}{space 3} .5762877
{txt}{space 10}8  {c |}{col 14}{res}{space 2} .5135194{col 26}{space 2} .0516226{col 37}{space 1}    9.95{col 46}{space 3}0.000{col 54}{space 4}  .412341{col 67}{space 3} .6146978
{txt}{space 10}9  {c |}{col 14}{res}{space 2}  .532877{col 26}{space 2} .0629123{col 37}{space 1}    8.47{col 46}{space 3}0.000{col 54}{space 4} .4095711{col 67}{space 3} .6561829
{txt}{space 9}10  {c |}{col 14}{res}{space 2} .5521361{col 26}{space 2} .0748661{col 37}{space 1}    7.37{col 46}{space 3}0.000{col 54}{space 4} .4054013{col 67}{space 3}  .698871
{txt}{space 9}11  {c |}{col 14}{res}{space 2} .5712401{col 26}{space 2} .0869566{col 37}{space 1}    6.57{col 46}{space 3}0.000{col 54}{space 4} .4008083{col 67}{space 3} .7416718
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. marginsplot

{text}{p 2 6 2}Variables that uniquely identify margins: smp1amt_pd_10k{p_end}
{res}{com}. restore
.         * Steeper line
. preserve
. keep if p1capacity_total < 2
{txt}(2,097 observations deleted)
{com}. quietly logit phase2 c.smp1amt_pd_10k, cluster(firm_id) nolog 
. margins, dydx(*)
{res}
{txt}Average marginal effects{col 49}Number of obs{col 67}= {res}        64
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Pr(phase2), predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:dy/dx w.r.t.}:{space 1}{res:smp1amt_pd_10k}{p_end}
{p2colreset}{...}

{res}{txt}{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28} Delta-method
{col 16}{c |}      dy/dx{col 28}   Std. Err.{col 40}      z{col 48}   P>|z|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
smp1amt_pd_10k {c |}{col 16}{res}{space 2} .0505268{col 28}{space 2}  .025491{col 39}{space 1}    1.98{col 48}{space 3}0.047{col 56}{space 4} .0005655{col 69}{space 3} .1004882
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. margins, at(smp1amt_pd_10k=(3(1)13)) vsquish
{res}
{txt}Adjusted predictions{col 49}Number of obs{col 67}= {res}        64
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Pr(phase2), predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:1._at}:{space 1}{res:{txt:smp1amt_~10k}{space 4}{txt:=} {space 10}3}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:2._at}:{space 1}{res:{txt:smp1amt_~10k}{space 4}{txt:=} {space 10}4}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:3._at}:{space 1}{res:{txt:smp1amt_~10k}{space 4}{txt:=} {space 10}5}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:4._at}:{space 1}{res:{txt:smp1amt_~10k}{space 4}{txt:=} {space 10}6}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:5._at}:{space 1}{res:{txt:smp1amt_~10k}{space 4}{txt:=} {space 10}7}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:6._at}:{space 1}{res:{txt:smp1amt_~10k}{space 4}{txt:=} {space 10}8}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:7._at}:{space 1}{res:{txt:smp1amt_~10k}{space 4}{txt:=} {space 10}9}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:8._at}:{space 1}{res:{txt:smp1amt_~10k}{space 4}{txt:=} {space 9}10}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:9._at}:{space 1}{res:{txt:smp1amt_~10k}{space 4}{txt:=} {space 9}11}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:10._at}:{space 1}{res:{txt:smp1amt_~10k}{space 4}{txt:=} {space 9}12}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:11._at}:{space 1}{res:{txt:smp1amt_~10k}{space 4}{txt:=} {space 9}13}{p_end}
{p2colreset}{...}

{res}{txt}{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26} Delta-method
{col 14}{c |}     Margin{col 26}   Std. Err.{col 38}      z{col 46}   P>|z|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 9}_at {c |}
{space 10}1  {c |}{col 14}{res}{space 2} .2358371{col 26}{space 2} .1005086{col 37}{space 1}    2.35{col 46}{space 3}0.019{col 54}{space 4} .0388438{col 67}{space 3} .4328303
{txt}{space 10}2  {c |}{col 14}{res}{space 2} .2774461{col 26}{space 2} .0909078{col 37}{space 1}    3.05{col 46}{space 3}0.002{col 54}{space 4}   .09927{col 67}{space 3} .4556221
{txt}{space 10}3  {c |}{col 14}{res}{space 2} .3232904{col 26}{space 2} .0789141{col 37}{space 1}    4.10{col 46}{space 3}0.000{col 54}{space 4} .1686217{col 67}{space 3} .4779592
{txt}{space 10}4  {c |}{col 14}{res}{space 2} .3728015{col 26}{space 2} .0679517{col 37}{space 1}    5.49{col 46}{space 3}0.000{col 54}{space 4} .2396187{col 67}{space 3} .5059844
{txt}{space 10}5  {c |}{col 14}{res}{space 2} .4251316{col 26}{space 2} .0640447{col 37}{space 1}    6.64{col 46}{space 3}0.000{col 54}{space 4} .2996064{col 67}{space 3} .5506568
{txt}{space 10}6  {c |}{col 14}{res}{space 2}  .479195{col 26}{space 2}  .071795{col 37}{space 1}    6.67{col 46}{space 3}0.000{col 54}{space 4} .3384793{col 67}{space 3} .6199107
{txt}{space 10}7  {c |}{col 14}{res}{space 2} .5337502{col 26}{space 2} .0885875{col 37}{space 1}    6.03{col 46}{space 3}0.000{col 54}{space 4} .3601218{col 67}{space 3} .7073785
{txt}{space 10}8  {c |}{col 14}{res}{space 2} .5875098{col 26}{space 2}  .108526{col 37}{space 1}    5.41{col 46}{space 3}0.000{col 54}{space 4} .3748028{col 67}{space 3} .8002169
{txt}{space 10}9  {c |}{col 14}{res}{space 2} .6392603{col 26}{space 2} .1271985{col 37}{space 1}    5.03{col 46}{space 3}0.000{col 54}{space 4} .3899557{col 67}{space 3} .8885648
{txt}{space 9}10  {c |}{col 14}{res}{space 2} .6879664{col 26}{space 2} .1420408{col 37}{space 1}    4.84{col 46}{space 3}0.000{col 54}{space 4} .4095717{col 67}{space 3} .9663612
{txt}{space 9}11  {c |}{col 14}{res}{space 2} .7328447{col 26}{space 2} .1518115{col 37}{space 1}    4.83{col 46}{space 3}0.000{col 54}{space 4} .4352996{col 67}{space 3}  1.03039
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. marginsplot

{text}{p 2 6 2}Variables that uniquely identify margins: smp1amt_pd_10k{p_end}
{res}{com}. restore
. {c )-}
{txt}
{com}. ********************************************************************************
.         ** Appendix D.1: Imputation Techniques
. ********************************************************************************
.         * Table D.1: data prep
. {c -(}       
. preserve 
.         drop if p1year < 2002
{txt}(0 observations deleted)
{com}.         drop if p1year == 2006
{txt}(245 observations deleted)
{com}.         gen d2 = 1 if p1year > 2006
{txt}(1,030 missing values generated)
{com}.         recode d2 (.=0)
{txt}(d2: 1030 changes made)
{com}.         label var d2 "Post-period"
.         gen dT = 1 if state=="nc"|state=="ky"
{txt}(1,488 missing values generated)
{com}.         recode dT (.=0)
{txt}(dT: 1488 changes made)
{com}.         label variable dT "Treated state"
.         gen d2_dT = d2*dT
.         lab var d2_dT "Policy Effect"
.         
.         ** Complete Case Analysis
.         global cca_control WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year 
. 
.         ** Dummy Variable Analysis (DVA): recode yr_est = p1year & Emp = 1; include dummy variable for missing
.         gen emp_dva = Emp_p1year
{txt}(345 missing values generated)
{com}.         recode emp_dva (.=1)
{txt}(emp_dva: 345 changes made)
{com}.         gen dva_emp_dum = 1 if Emp_p1year ==.
{txt}(1,832 missing values generated)
{com}.         recode dva_emp_dum (.=0)
{txt}(dva_emp_dum: 1832 changes made)
{com}.         gen yr_dva = yr_est_full
{txt}(67 missing values generated)
{com}.         replace yr_dva = p1year if yr_est_full == .
{txt}(67 real changes made)
{com}.         gen dva_yr_dum = 1 if yr_est_full ==.
{txt}(2,110 missing values generated)
{com}.         recode dva_yr_dum (.=0)
{txt}(dva_yr_dum: 2110 changes made)
{com}.         global dvacontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_dva emp_dva dva_yr_dum dva_emp_dum
. 
.         ** Mean Imputation
.         gen yr_impute_mean = yr_est_full
{txt}(67 missing values generated)
{com}.         replace yr_impute_mean = p1year - 6 if yr_est_full == .
{txt}(67 real changes made)
{com}.         global MIcontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_impute_mean emp1_impute
. 
.         ** Remove incomplete data (remove NETS)
.         global SBIRcontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual
. 
.         * Table D.1: Descriptive Statistics
.         sum yr_est_full yr_dva yr_impute_mean 

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 1}yr_est_full {c |}{res}      2,110    1996.466      9.4693       1817       2011
{txt}{space 6}yr_dva {c |}{res}      2,177    1996.733    9.453505       1817       2011
{txt}yr_impute_~n {c |}{res}      2,177    1996.548    9.345523       1817       2011
{com}.         sum Emp_p1year emp_dva emp1_impute 

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 2}Emp_p1year {c |}{res}      1,832    22.26419    31.28127          1        400
{txt}{space 5}emp_dva {c |}{res}      2,177    18.89435    29.72717          1        400
{txt}{space 1}emp1_impute {c |}{res}      2,177     20.1981    29.37114          1        400
{com}. restore
. {c )-}
{txt}
{com}. 
.         
. ********************************************************************************
.         * Table D.2: KY Comparison of means
. {c -(}
. global observed WomanOwn_dum HUB_dum Minority_dum yr_est_full Emp_p1year p1cbsa_capacity_annual p1prior_capacity
.                 * KY Sample, Full (Row A, Column 1)
. preserve
.         keep if cohort == 1
{txt}(1,899 observations deleted)
{com}.         drop if year < 2002
{txt}(0 observations deleted)
{com}.         gen d2 = 1 if p1year > 2006
{txt}(259 missing values generated)
{com}.         recode d2 (.=0)
{txt}(d2: 259 changes made)
{com}.         label var d2 "Post-period"
.         gen dT = 1 if state=="ky"       
{txt}(388 missing values generated)
{com}.         recode dT (.=0)
{txt}(dT: 388 changes made)
{com}.         label variable dT "Treated state"
.         gen d2_dT = d2*dT
.         lab var d2_dT "Policy Effect"
. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ttest `x', by(d2_dT) unequal
{txt}  5{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  6{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  7{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  8{com}. {c )-}
T-test of means for WomanOwn_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    449{col 22} .0801782{col 34} .0128304{col 46} .2718718{col 58} .0549629{col 70} .1053935
       {txt}1 {c |}{res}{col 12}     74{col 22} .0675676{col 34} .0293776{col 46} .2527157{col 58} .0090181{col 70} .1261171
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    523{col 22} .0783939{col 34} .0117646{col 46} .2690477{col 58}  .055282{col 70} .1015057
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0126106{col 34} .0320572{col 58} -.050968{col 70} .0761893
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.3934
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 102.894

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6526         {txt}Pr(|T| > |t|) = {res}0.6949          {txt}Pr(T > t) = {res}0.3474
T-test of means for HUB_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    449{col 22} .0200445{col 34} .0066216{col 46}  .140309{col 58} .0070313{col 70} .0330578
       {txt}1 {c |}{res}{col 12}     74{col 22} .0135135{col 34} .0135135{col 46} .1162476{col 58}-.0134189{col 70} .0404459
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    523{col 22} .0191205{col 34} .0059941{col 46} .1370795{col 58}  .007345{col 70} .0308959
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  .006531{col 34} .0150486{col 58}-.0232881{col 70} .0363502
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.4340
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 111.218

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6674         {txt}Pr(|T| > |t|) = {res}0.6651          {txt}Pr(T > t) = {res}0.3326
T-test of means for Minority_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    449{col 22} .0512249{col 34} .0104156{col 46} .2207021{col 58} .0307555{col 70} .0716944
       {txt}1 {c |}{res}{col 12}     74{col 22} .2027027{col 34}  .047052{col 46}  .404757{col 58} .1089281{col 70} .2964773
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    523{col 22} .0726577{col 34} .0113612{col 46} .2598224{col 58} .0503384{col 70} .0949771
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1514778{col 34} .0481911{col 58}-.2473756{col 70}-.0555799
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -3.1433
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 80.2981

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0012         {txt}Pr(|T| > |t|) = {res}0.0023          {txt}Pr(T > t) = {res}0.9988
T-test of means for yr_est_full

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    430{col 22} 1997.549{col 34} .4553488{col 46} 9.442313{col 58} 1996.654{col 70} 1998.444
       {txt}1 {c |}{res}{col 12}     73{col 22} 1999.123{col 34} 3.001582{col 46} 25.64552{col 58}  1993.14{col 70} 2005.107
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    503{col 22} 1997.777{col 34} .5827726{col 46} 13.07023{col 58} 1996.632{col 70} 1998.922
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -1.57445{col 34} 3.035924{col 58}-7.621867{col 70} 4.472966
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.5186
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 75.3454

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3028         {txt}Pr(|T| > |t|) = {res}0.6056          {txt}Pr(T > t) = {res}0.6972
T-test of means for Emp_p1year

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    383{col 22} 16.10183{col 34} 2.302282{col 46} 45.05654{col 58}  11.5751{col 70} 20.62856
       {txt}1 {c |}{res}{col 12}     56{col 22}    10.75{col 34} 2.583319{col 46} 19.33179{col 58} 5.572912{col 70} 15.92709
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    439{col 22} 15.41913{col 34} 2.036489{col 46} 42.66919{col 58} 11.41663{col 70} 19.42164
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 5.351828{col 34} 3.460353{col 58}-1.481283{col 70} 12.18494
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.5466
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 162.321

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9380         {txt}Pr(|T| > |t|) = {res}0.1239          {txt}Pr(T > t) = {res}0.0620
T-test of means for p1cbsa_capacity_annual

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    449{col 22} 11.28062{col 34} .3186664{col 46}  6.75242{col 58} 10.65436{col 70} 11.90689
       {txt}1 {c |}{res}{col 12}     74{col 22} 10.37838{col 34} .6034894{col 46} 5.191412{col 58} 9.175626{col 70} 11.58113
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    523{col 22} 11.15296{col 34} .2867353{col 46} 6.557404{col 58} 10.58967{col 70} 11.71626
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .9022452{col 34} .6824571{col 58}-.4492187{col 70} 2.253709
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.3221
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  117.89

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9056         {txt}Pr(|T| > |t|) = {res}0.1887          {txt}Pr(T > t) = {res}0.0944
T-test of means for p1prior_capacity

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    449{col 22} 3.017817{col 34} .1807515{col 46} 3.830055{col 58} 2.662591{col 70} 3.373043
       {txt}1 {c |}{res}{col 12}     74{col 22} 2.148649{col 34} .4227352{col 46} 3.636506{col 58} 1.306139{col 70} 2.991159
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    523{col 22} 2.894837{col 34} .1666855{col 46} 3.811963{col 58} 2.567381{col 70} 3.222294
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .8691687{col 34} .4597567{col 58}-.0428018{col 70} 1.781139
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.8905
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 101.579

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9692         {txt}Pr(|T| > |t|) = {res}0.0615          {txt}Pr(T > t) = {res}0.0308
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
               control       treat      t-stat
 Woman_own {res}  .08017817   .06756757    .3933784
{txt}         . {res}          .           .   .69485393
{txt}   HUBZone {res}  .02004454   .01351351   .43399572
{txt}         . {res}          .           .   .66513228
{txt}  Minority {res}  .05122494    .2027027  -3.1432746
{txt}         . {res}          .           .   .00234121
{txt}    yr_est {res}  1997.5488   1999.1233  -.51860668
{txt}         . {res}          .           .   .60555485
{txt}Employment {res}  16.101828       10.75   1.5466134
{txt}         . {res}          .           .   .12390392
{txt} CBSA_SBIR {res}  11.280624   10.378378   1.3220541
{txt}         . {res}          .           .   .18870959
{txt}SBIR_prior {res}  3.0178174   2.1486486   1.8904973
{txt}         . {res}          .           .   .06154156
{reset}{com}. restore 
. 
.                 * KY Sample, HHS (Row A, Column 2)
. preserve
.         keep if agency == "hhs"
{txt}(1,717 observations deleted)
{com}.         keep if cohort == 1
{txt}(498 observations deleted)
{com}.         drop if year < 2002
{txt}(0 observations deleted)
{com}.         gen d2 = 1 if p1year > 2006
{txt}(102 missing values generated)
{com}.         recode d2 (.=0)
{txt}(d2: 102 changes made)
{com}.         label var d2 "Post-period"
.         gen dT = 1 if state=="ky"       
{txt}(139 missing values generated)
{com}.         recode dT (.=0)
{txt}(dT: 139 changes made)
{com}.         label variable dT "Treated state"
.         gen d2_dT = d2*dT
.         lab var d2_dT "Policy Effect"
. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ttest `x', by(d2_dT) unequal
{txt}  5{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  6{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  7{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  8{com}. {c )-}
T-test of means for WomanOwn_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    174{col 22} .0689655{col 34} .0192653{col 46} .2541268{col 58} .0309402{col 70} .1069908
       {txt}1 {c |}{res}{col 12}     33{col 22} .0909091{col 34} .0508197{col 46} .2919371{col 58}-.0126073{col 70} .1944255
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    207{col 22} .0724638{col 34} .0180631{col 46} .2598828{col 58} .0368515{col 70}  .108076
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0219436{col 34} .0543488{col 58}-.1316474{col 70} .0877603
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.4038
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  41.699

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3442         {txt}Pr(|T| > |t|) = {res}0.6885          {txt}Pr(T > t) = {res}0.6558
T-test of means for HUB_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    174{col 22} .0287356{col 34} .0127015{col 46} .1675447{col 58} .0036657{col 70} .0538055
       {txt}1 {c |}{res}{col 12}     33{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    207{col 22} .0241546{col 34} .0106969{col 46} .1539012{col 58} .0030652{col 70}  .045244
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0287356{col 34} .0127015{col 58} .0036657{col 70} .0538055
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.2624
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}     173

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9875         {txt}Pr(|T| > |t|) = {res}0.0249          {txt}Pr(T > t) = {res}0.0125
T-test of means for Minority_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    174{col 22} .0287356{col 34} .0127015{col 46} .1675447{col 58} .0036657{col 70} .0538055
       {txt}1 {c |}{res}{col 12}     33{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    207{col 22} .0241546{col 34} .0106969{col 46} .1539012{col 58} .0030652{col 70}  .045244
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0287356{col 34} .0127015{col 58} .0036657{col 70} .0538055
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.2624
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}     173

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9875         {txt}Pr(|T| > |t|) = {res}0.0249          {txt}Pr(T > t) = {res}0.0125
T-test of means for yr_est_full

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    166{col 22} 1997.072{col 34} .8165666{col 46} 10.52072{col 58}  1995.46{col 70} 1998.685
       {txt}1 {c |}{res}{col 12}     33{col 22} 2002.333{col 34} 1.199484{col 46} 6.890513{col 58}  1999.89{col 70} 2004.777
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    199{col 22} 1997.945{col 34} .7220837{col 46} 10.18624{col 58} 1996.521{col 70} 1999.369
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-5.261044{col 34} 1.451049{col 58}-8.158328{col 70}-2.363761
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -3.6257
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 65.7926

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0003         {txt}Pr(|T| > |t|) = {res}0.0006          {txt}Pr(T > t) = {res}0.9997
T-test of means for Emp_p1year

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    148{col 22} 20.30405{col 34} 4.713356{col 46} 57.34045{col 58} 10.98936{col 70} 29.61875
       {txt}1 {c |}{res}{col 12}     23{col 22} 6.391304{col 34} 2.152982{col 46} 10.32534{col 58} 1.926292{col 70} 10.85632
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    171{col 22} 18.43275{col 34} 4.103595{col 46} 53.66146{col 58} 10.33218{col 70} 26.53331
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 13.91275{col 34} 5.181801{col 58}  3.68218{col 70} 24.14332
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.6849
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 166.352

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9960         {txt}Pr(|T| > |t|) = {res}0.0080          {txt}Pr(T > t) = {res}0.0040
T-test of means for p1cbsa_capacity_annual

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    174{col 22} 11.77586{col 34} .5085887{col 46} 6.708746{col 58} 10.77202{col 70}  12.7797
       {txt}1 {c |}{res}{col 12}     33{col 22} 9.424242{col 34} .8660585{col 46} 4.975128{col 58} 7.660139{col 70} 11.18835
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    207{col 22} 11.40097{col 34} .4525131{col 46} 6.510529{col 58} 10.50882{col 70} 12.29312
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  2.35162{col 34}  1.00435{col 58} .3401582{col 70} 4.363081
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.3414
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 56.6307

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9886         {txt}Pr(|T| > |t|) = {res}0.0228          {txt}Pr(T > t) = {res}0.0114
T-test of means for p1prior_capacity

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    174{col 22} 3.482759{col 34} .3140799{col 46} 4.142999{col 58} 2.862837{col 70} 4.102681
       {txt}1 {c |}{res}{col 12}     33{col 22} 3.545455{col 34}  .848451{col 46}  4.87398{col 58} 1.817216{col 70} 5.273693
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    207{col 22} 3.492754{col 34} .2957471{col 46} 4.255059{col 58} 2.909674{col 70} 4.075833
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0626959{col 34} .9047184{col 58}-1.889505{col 70} 1.764113
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.0693
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 41.2278

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4725         {txt}Pr(|T| > |t|) = {res}0.9451          {txt}Pr(T > t) = {res}0.5275
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
               control       treat      t-stat
 Woman_own {res}  .06896552   .09090909  -.40375422
{txt}         . {res}          .           .   .68845663
{txt}   HUBZone {res}  .02873563           0   2.2623756
{txt}         . {res}          .           .   .02491812
{txt}  Minority {res}  .02873563           0   2.2623756
{txt}         . {res}          .           .   .02491812
{txt}    yr_est {res}  1997.0723   2002.3333  -3.6256829
{txt}         . {res}          .           .   .00056277
{txt}Employment {res}  20.304054   6.3913043   2.6849257
{txt}         . {res}          .           .   .00798919
{txt} CBSA_SBIR {res}  11.775862   9.4242424   2.3414333
{txt}         . {res}          .           .   .02275286
{txt}SBIR_prior {res}  3.4827586   3.5454545  -.06929883
{txt}         . {res}          .           .   .94508679
{reset}{com}. restore 
. 
.                 * KY Sample, NSF (Row A, Column 3)
. preserve
.         keep if agency == "nsf"
{txt}(2,208 observations deleted)
{com}.         keep if cohort == 1
{txt}(127 observations deleted)
{com}.         drop if year < 2002
{txt}(0 observations deleted)
{com}.         gen d2 = 1 if p1year > 2006
{txt}(45 missing values generated)
{com}.         recode d2 (.=0)
{txt}(d2: 45 changes made)
{com}.         label var d2 "Post-period"
.         gen dT = 1 if state=="ky"       
{txt}(65 missing values generated)
{com}.         recode dT (.=0)
{txt}(dT: 65 changes made)
{com}.         label variable dT "Treated state"
.         gen d2_dT = d2*dT
.         lab var d2_dT "Policy Effect"
. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ttest `x', by(d2_dT) unequal
{txt}  5{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  6{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  7{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  8{com}. {c )-}
T-test of means for WomanOwn_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     73{col 22} .0958904{col 34} .0347002{col 46} .2964786{col 58} .0267168{col 70}  .165064
       {txt}1 {c |}{res}{col 12}     14{col 22} .0714286{col 34} .0714286{col 46} .2672612{col 58}-.0828835{col 70} .2257406
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     87{col 22}  .091954{col 34} .0311595{col 46} .2906362{col 58}  .030011{col 70}  .153897
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0244618{col 34} .0794112{col 58}-.1413696{col 70} .1902933
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.3080
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 19.6624

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6194         {txt}Pr(|T| > |t|) = {res}0.7613          {txt}Pr(T > t) = {res}0.3806
T-test of means for HUB_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     73{col 22} .0273973{col 34} .0192378{col 46} .1643677{col 58}-.0109526{col 70} .0657471
       {txt}1 {c |}{res}{col 12}     14{col 22} .0714286{col 34} .0714286{col 46} .2672612{col 58}-.0828835{col 70} .2257406
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     87{col 22} .0344828{col 34} .0196758{col 46} .1835234{col 58}-.0046314{col 70} .0735969
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0440313{col 34} .0739739{col 58}-.2017579{col 70} .1136952
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.5952
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 14.9402

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2803         {txt}Pr(|T| > |t|) = {res}0.5606          {txt}Pr(T > t) = {res}0.7197
T-test of means for Minority_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     73{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
       {txt}1 {c |}{res}{col 12}     14{col 22} .1428571{col 34} .0970523{col 46} .3631365{col 58}-.0668116{col 70} .3525259
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     87{col 22} .0229885{col 34} .0161605{col 46} .1507355{col 58}-.0091376{col 70} .0551146
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1428571{col 34} .0970523{col 58}-.3525259{col 70} .0668116
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.4720
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}      13

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0824         {txt}Pr(|T| > |t|) = {res}0.1648          {txt}Pr(T > t) = {res}0.9176
T-test of means for yr_est_full

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     69{col 22} 1999.928{col 34} .7256472{col 46} 6.027678{col 58}  1998.48{col 70} 2001.376
       {txt}1 {c |}{res}{col 12}     14{col 22} 1995.286{col 34} 7.654941{col 46} 28.64217{col 58} 1978.748{col 70} 2011.823
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     83{col 22} 1999.145{col 34} 1.402438{col 46} 12.77682{col 58} 1996.355{col 70} 2001.934
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 4.641822{col 34} 7.689257{col 58}-11.93994{col 70} 21.22358
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.6037
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 13.2345

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7219         {txt}Pr(|T| > |t|) = {res}0.5563          {txt}Pr(T > t) = {res}0.2781
T-test of means for Emp_p1year

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     60{col 22} 14.76667{col 34} 3.972317{col 46} 30.76944{col 58} 6.818078{col 70} 22.71525
       {txt}1 {c |}{res}{col 12}     12{col 22} 13.33333{col 34}  8.26212{col 46} 28.62082{col 58} -4.85147{col 70} 31.51814
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     72{col 22} 14.52778{col 34} 3.562815{col 46} 30.23149{col 58} 7.423726{col 70} 21.63183
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 1.433333{col 34} 9.167439{col 58}-17.95221{col 70} 20.81888
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.1564
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 16.5087

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5612         {txt}Pr(|T| > |t|) = {res}0.8777          {txt}Pr(T > t) = {res}0.4388
T-test of means for p1cbsa_capacity_annual

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     73{col 22}  10.9726{col 34} .7095169{col 46} 6.062115{col 58} 9.558207{col 70}   12.387
       {txt}1 {c |}{res}{col 12}     14{col 22} 10.35714{col 34} 1.488443{col 46} 5.569244{col 58} 7.141557{col 70} 13.57273
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     87{col 22} 10.87356{col 34} .6388485{col 46} 5.958782{col 58} 9.603574{col 70} 12.14355
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .6154599{col 34} 1.648902{col 58}-2.830942{col 70} 4.061861
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.3733
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 19.3983

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6435         {txt}Pr(|T| > |t|) = {res}0.7130          {txt}Pr(T > t) = {res}0.3565
T-test of means for p1prior_capacity

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     73{col 22} 2.534247{col 34} .4050115{col 46}  3.46042{col 58} 1.726871{col 70} 3.341622
       {txt}1 {c |}{res}{col 12}     14{col 22} .5714286{col 34}  .291157{col 46}  1.08941{col 58}-.0575778{col 70} 1.200435
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     87{col 22} 2.218391{col 34} .3512019{col 46} 3.275793{col 58} 1.520225{col 70} 2.916557
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 1.962818{col 34} .4988053{col 58} .9671479{col 70} 2.958488
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  3.9350
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 66.8151

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9999         {txt}Pr(|T| > |t|) = {res}0.0002          {txt}Pr(T > t) = {res}0.0001
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
               control       treat      t-stat
 Woman_own {res}  .09589041   .07142857   .30804004
{txt}         . {res}          .           .   .76129133
{txt}   HUBZone {res}  .02739726   .07142857  -.59522791
{txt}         . {res}          .           .   .56059965
{txt}  Minority {res}          0   .14285714  -1.4719601
{txt}         . {res}          .           .   .16482345
{txt}    yr_est {res}  1999.9275   1995.2857   .60367623
{txt}         . {res}          .           .    .5562651
{txt}Employment {res}  14.766667   13.333333   .15635047
{txt}         . {res}          .           .   .87765281
{txt} CBSA_SBIR {res}  10.972603   10.357143   .37325441
{txt}         . {res}          .           .   .71300684
{txt}SBIR_prior {res}  2.5342466   .57142857   3.9350387
{txt}         . {res}          .           .   .00020067
{reset}{com}. restore 
. 
.         * KY Less than 5 prior Sample, Full (Row B, Column 1)
. preserve
.         keep if cohort == 1
{txt}(1,899 observations deleted)
{com}.         drop if year < 2002
{txt}(0 observations deleted)
{com}.         gen d2 = 1 if p1year > 2006
{txt}(259 missing values generated)
{com}.         recode d2 (.=0)
{txt}(d2: 259 changes made)
{com}.         label var d2 "Post-period"
.         gen dT = 1 if state=="ky"       
{txt}(388 missing values generated)
{com}.         recode dT (.=0)
{txt}(dT: 388 changes made)
{com}.         label variable dT "Treated state"
.         gen d2_dT = d2*dT
.         lab var d2_dT "Policy Effect"
.         drop if p1prior_capacity > 5
{txt}(105 observations deleted)
{com}. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ttest `x', by(d2_dT) unequal
{txt}  5{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  6{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  7{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  8{com}. {c )-}
T-test of means for WomanOwn_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    353{col 22} .0793201{col 34} .0144037{col 46} .2706213{col 58} .0509919{col 70} .1076483
       {txt}1 {c |}{res}{col 12}     65{col 22} .0769231{col 34} .0333087{col 46} .2685431{col 58} .0103814{col 70} .1434648
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    418{col 22} .0789474{col 34} .0132051{col 46} .2699797{col 58} .0529904{col 70} .1049043
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  .002397{col 34} .0362896{col 58}-.0697029{col 70}  .074497
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.0661
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 89.6039

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5263         {txt}Pr(|T| > |t|) = {res}0.9475          {txt}Pr(T > t) = {res}0.4737
T-test of means for HUB_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    353{col 22} .0226629{col 34} .0079325{col 46} .1490376{col 58} .0070619{col 70} .0382639
       {txt}1 {c |}{res}{col 12}     65{col 22} .0153846{col 34} .0153846{col 46} .1240347{col 58}-.0153497{col 70} .0461189
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    418{col 22} .0215311{col 34} .0071079{col 46} .1453205{col 58} .0075594{col 70} .0355028
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0072783{col 34} .0173093{col 58}-.0270576{col 70} .0416142
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.4205
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 101.252

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6625         {txt}Pr(|T| > |t|) = {res}0.6750          {txt}Pr(T > t) = {res}0.3375
T-test of means for Minority_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    353{col 22} .0651558{col 34} .0131545{col 46} .2471509{col 58} .0392845{col 70} .0910271
       {txt}1 {c |}{res}{col 12}     65{col 22} .2153846{col 34} .0513861{col 46} .4142881{col 58} .1127291{col 70} .3180402
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    418{col 22} .0885167{col 34} .0139097{col 46} .2843853{col 58} .0611748{col 70} .1158587
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1502288{col 34} .0530431{col 58}-.2559533{col 70}-.0445043
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.8322
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 72.6063

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0030         {txt}Pr(|T| > |t|) = {res}0.0060          {txt}Pr(T > t) = {res}0.9970
T-test of means for yr_est_full

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    334{col 22} 1997.967{col 34} .5586289{col 46} 10.20932{col 58} 1996.868{col 70} 1999.066
       {txt}1 {c |}{res}{col 12}     64{col 22} 1999.469{col 34} 3.407142{col 46} 27.25713{col 58}  1992.66{col 70} 2006.277
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    398{col 22} 1998.209{col 34}  .718792{col 46} 14.33986{col 58} 1996.795{col 70} 1999.622
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-1.501684{col 34} 3.452634{col 58} -8.39427{col 70} 5.390902
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.4349
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 66.4236

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3325         {txt}Pr(|T| > |t|) = {res}0.6650          {txt}Pr(T > t) = {res}0.6675
T-test of means for Emp_p1year

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    287{col 22} 16.39721{col 34} 2.936913{col 46} 49.75446{col 58} 10.61651{col 70} 22.17792
       {txt}1 {c |}{res}{col 12}     47{col 22}  10.6383{col 34} 2.951414{col 46} 20.23388{col 58} 4.697409{col 70} 16.57919
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    334{col 22} 15.58683{col 34} 2.558705{col 46} 46.76203{col 58} 10.55356{col 70} 20.62009
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 5.758915{col 34} 4.163689{col 58}-2.465003{col 70} 13.98283
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.3831
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 157.381

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9157         {txt}Pr(|T| > |t|) = {res}0.1686          {txt}Pr(T > t) = {res}0.0843
T-test of means for p1cbsa_capacity_annual

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    353{col 22} 10.95467{col 34} .3759835{col 46} 7.064089{col 58} 10.21522{col 70} 11.69413
       {txt}1 {c |}{res}{col 12}     65{col 22} 10.06154{col 34} .6540837{col 46} 5.273391{col 58} 8.754856{col 70} 11.36822
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    418{col 22} 10.81579{col 34} .3335182{col 46} 6.818795{col 58}  10.1602{col 70} 11.47138
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .8931358{col 34} .7544462{col 58}-.6018383{col 70}  2.38811
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.1838
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 111.077

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.8805         {txt}Pr(|T| > |t|) = {res}0.2390          {txt}Pr(T > t) = {res}0.1195
T-test of means for p1prior_capacity

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    353{col 22} 1.303116{col 34} .0821505{col 46} 1.543467{col 58} 1.141549{col 70} 1.464684
       {txt}1 {c |}{res}{col 12}     65{col 22} 1.030769{col 34} .1549957{col 46} 1.249615{col 58} .7211297{col 70} 1.340409
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    418{col 22} 1.260766{col 34} .0735364{col 46} 1.503454{col 58} 1.116217{col 70} 1.405314
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .2723469{col 34} .1754206{col 58}-.0755375{col 70} .6202313
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.5525
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 103.523

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9382         {txt}Pr(|T| > |t|) = {res}0.1236          {txt}Pr(T > t) = {res}0.0618
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
               control       treat      t-stat
 Woman_own {res}  .07932011   .07692308     .066053
{txt}         . {res}          .           .   .94748279
{txt}   HUBZone {res}  .02266289   .01538462   .42048441
{txt}         . {res}          .           .   .67502269
{txt}  Minority {res}  .06515581   .21538462   -2.832201
{txt}         . {res}          .           .   .00597885
{txt}    yr_est {res}  1997.9671   1999.4688  -.43493869
{txt}         . {res}          .           .   .66501681
{txt}Employment {res}  16.397213   10.638298   1.3831281
{txt}         . {res}          .           .   .16858464
{txt} CBSA_SBIR {res}  10.954674   10.061538   1.1838297
{txt}         . {res}          .           .   .23900773
{txt}SBIR_prior {res}  1.3031161   1.0307692   1.5525371
{txt}         . {res}          .           .   .12358565
{reset}{com}. restore 
. 
.         * KY Less than 5 prior Sample, HHS (Row B, Column 2)
. preserve
.         keep if agency == "hhs"
{txt}(1,717 observations deleted)
{com}.         keep if cohort == 1
{txt}(498 observations deleted)
{com}.         drop if year < 2002
{txt}(0 observations deleted)
{com}.         gen d2 = 1 if p1year > 2006
{txt}(102 missing values generated)
{com}.         recode d2 (.=0)
{txt}(d2: 102 changes made)
{com}.         label var d2 "Post-period"
.         gen dT = 1 if state=="ky"       
{txt}(139 missing values generated)
{com}.         recode dT (.=0)
{txt}(dT: 139 changes made)
{com}.         label variable dT "Treated state"
.         gen d2_dT = d2*dT
.         lab var d2_dT "Policy Effect"
.         keep if p1prior_capacity < 6
{txt}(58 observations deleted)
{com}. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ttest `x', by(d2_dT) unequal
{txt}  5{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  6{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  7{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  8{com}. {c )-}
T-test of means for WomanOwn_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    124{col 22} .0645161{col 34} .0221513{col 46} .2466667{col 58} .0206689{col 70} .1083633
       {txt}1 {c |}{res}{col 12}     25{col 22}      .12{col 34} .0663325{col 46} .3316625{col 58}-.0169035{col 70} .2569035
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    149{col 22} .0738255{col 34} .0214941{col 46} .2623686{col 58} .0313506{col 70} .1163004
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0554839{col 34} .0699334{col 58}-.1983921{col 70} .0874244
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.7934
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 29.5796

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2169         {txt}Pr(|T| > |t|) = {res}0.4339          {txt}Pr(T > t) = {res}0.7831
T-test of means for HUB_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    124{col 22} .0322581{col 34} .0159311{col 46} .1774015{col 58} .0007234{col 70} .0637927
       {txt}1 {c |}{res}{col 12}     25{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    149{col 22} .0268456{col 34} .0132861{col 46} .1621773{col 58} .0005907{col 70} .0531006
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0322581{col 34} .0159311{col 58} .0007234{col 70} .0637927
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.0248
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}     123

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9775         {txt}Pr(|T| > |t|) = {res}0.0450          {txt}Pr(T > t) = {res}0.0225
T-test of means for Minority_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    124{col 22} .0403226{col 34} .0177372{col 46} .1975127{col 58} .0052129{col 70} .0754322
       {txt}1 {c |}{res}{col 12}     25{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    149{col 22}  .033557{col 34}  .014803{col 46} .1806934{col 58} .0043045{col 70} .0628095
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0403226{col 34} .0177372{col 58} .0052129{col 70} .0754322
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.2733
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}     123

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9876         {txt}Pr(|T| > |t|) = {res}0.0247          {txt}Pr(T > t) = {res}0.0124
T-test of means for yr_est_full

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    116{col 22} 1998.302{col 34} 1.076477{col 46} 11.59402{col 58} 1996.169{col 70} 2000.434
       {txt}1 {c |}{res}{col 12}     25{col 22}  2004.56{col 34} 1.034537{col 46} 5.172685{col 58} 2002.425{col 70} 2006.695
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    141{col 22} 1999.411{col 34} .9254409{col 46}   10.989{col 58} 1997.582{col 70} 2001.241
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-6.258276{col 34} 1.493007{col 58} -9.22747{col 70}-3.289082
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -4.1917
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 83.6425

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0001          {txt}Pr(T > t) = {res}1.0000
T-test of means for Emp_p1year

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     98{col 22} 24.41837{col 34} 7.068984{col 46} 69.97937{col 58} 10.38839{col 70} 38.44834
       {txt}1 {c |}{res}{col 12}     15{col 22} 3.466667{col 34} 1.154151{col 46} 4.470006{col 58} .9912599{col 70} 5.942073
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    113{col 22} 21.63717{col 34}  6.16494{col 46} 65.53421{col 58} 9.422129{col 70} 33.85221
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  20.9517{col 34} 7.162583{col 58} 6.744315{col 70} 35.15909
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.9252
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 101.739

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9979         {txt}Pr(|T| > |t|) = {res}0.0042          {txt}Pr(T > t) = {res}0.0021
T-test of means for p1cbsa_capacity_annual

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    124{col 22} 11.69355{col 34}  .631291{col 46}  7.02976{col 58} 10.44395{col 70} 12.94315
       {txt}1 {c |}{res}{col 12}     25{col 22}     8.36{col 34}  .950228{col 46}  4.75114{col 58} 6.398826{col 70} 10.32117
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    149{col 22} 11.13423{col 34} .5573949{col 46} 6.803872{col 58} 10.03275{col 70} 12.23571
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 3.333548{col 34} 1.140816{col 58} 1.039827{col 70}  5.62727
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.9221
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 48.0353

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9974         {txt}Pr(|T| > |t|) = {res}0.0053          {txt}Pr(T > t) = {res}0.0026
T-test of means for p1prior_capacity

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    124{col 22} 1.193548{col 34} .1353364{col 46} 1.507043{col 58} .9256582{col 70} 1.461439
       {txt}1 {c |}{res}{col 12}     25{col 22}     1.24{col 34}      .24{col 46}      1.2{col 58} .7446643{col 70} 1.735336
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    149{col 22} 1.201342{col 34} .1193199{col 46} 1.456485{col 58} .9655515{col 70} 1.437133
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0464516{col 34} .2755285{col 58}-.6029409{col 70} .5100376
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.1686
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 40.8834

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4335         {txt}Pr(|T| > |t|) = {res}0.8669          {txt}Pr(T > t) = {res}0.5665
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
               control       treat      t-stat
 Woman_own {res}  .06451613         .12  -.79338151
{txt}         . {res}          .           .   .43387401
{txt}   HUBZone {res}  .03225806           0   2.0248457
{txt}         . {res}          .           .   .04504827
{txt}  Minority {res}  .04032258           0   2.2733383
{txt}         . {res}          .           .   .02474025
{txt}    yr_est {res}  1998.3017     2004.56  -4.1917254
{txt}         . {res}          .           .   .00006838
{txt}Employment {res}  24.418367   3.4666667     2.92516
{txt}         . {res}          .           .   .00424547
{txt} CBSA_SBIR {res}  11.693548        8.36    2.922073
{txt}         . {res}          .           .    .0052863
{txt}SBIR_prior {res}  1.1935484        1.24  -.16859096
{txt}         . {res}          .           .   .86694971
{reset}{com}. restore 
. 
.         * KY Less than 5 prior Sample, NSF (Row A, Column 3)
. preserve
.         keep if agency == "nsf"
{txt}(2,208 observations deleted)
{com}.         keep if cohort == 1
{txt}(127 observations deleted)
{com}.         drop if year < 2002
{txt}(0 observations deleted)
{com}.         gen d2 = 1 if p1year > 2006
{txt}(45 missing values generated)
{com}.         recode d2 (.=0)
{txt}(d2: 45 changes made)
{com}.         label var d2 "Post-period"
.         gen dT = 1 if state=="ky"       
{txt}(65 missing values generated)
{com}.         recode dT (.=0)
{txt}(dT: 65 changes made)
{com}.         label variable dT "Treated state"
.         gen d2_dT = d2*dT
.         lab var d2_dT "Policy Effect"
.         keep if p1prior_capacity < 6
{txt}(12 observations deleted)
{com}. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ttest `x', by(d2_dT) unequal
{txt}  5{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  6{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  7{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  8{com}. {c )-}
T-test of means for WomanOwn_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     61{col 22} .1147541{col 34} .0411472{col 46}   .32137{col 58} .0324474{col 70} .1970608
       {txt}1 {c |}{res}{col 12}     14{col 22} .0714286{col 34} .0714286{col 46} .2672612{col 58}-.0828835{col 70} .2257406
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     75{col 22} .1066667{col 34} .0358844{col 46} .3107677{col 58} .0351655{col 70} .1781678
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0433255{col 34} .0824326{col 58}-.1273997{col 70} .2140508
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.5256
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 22.5222

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6978         {txt}Pr(|T| > |t|) = {res}0.6043          {txt}Pr(T > t) = {res}0.3022
T-test of means for HUB_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     61{col 22} .0327869{col 34} .0229898{col 46} .1795562{col 58}-.0131996{col 70} .0787734
       {txt}1 {c |}{res}{col 12}     14{col 22} .0714286{col 34} .0714286{col 46} .2672612{col 58}-.0828835{col 70} .2257406
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     75{col 22}      .04{col 34} .0227798{col 46} .1972788{col 58}-.0053897{col 70} .0853897
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0386417{col 34} .0750371{col 58}-.1978803{col 70} .1205969
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.5150
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 15.7962

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3069         {txt}Pr(|T| > |t|) = {res}0.6137          {txt}Pr(T > t) = {res}0.6931
T-test of means for Minority_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     61{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
       {txt}1 {c |}{res}{col 12}     14{col 22} .1428571{col 34} .0970523{col 46} .3631365{col 58}-.0668116{col 70} .3525259
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     75{col 22} .0266667{col 34} .0187283{col 46} .1621922{col 58}-.0106504{col 70} .0639837
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1428571{col 34} .0970523{col 58}-.3525259{col 70} .0668116
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.4720
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}      13

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0824         {txt}Pr(|T| > |t|) = {res}0.1648          {txt}Pr(T > t) = {res}0.9176
T-test of means for yr_est_full

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     57{col 22} 2000.175{col 34} .8294859{col 46} 6.262481{col 58} 1998.514{col 70} 2001.837
       {txt}1 {c |}{res}{col 12}     14{col 22} 1995.286{col 34} 7.654941{col 46} 28.64217{col 58} 1978.748{col 70} 2011.823
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     71{col 22} 1999.211{col 34} 1.625367{col 46} 13.69558{col 58}  1995.97{col 70} 2002.453
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 4.889724{col 34} 7.699751{col 58}-11.70569{col 70} 21.48514
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.6350
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 13.3067

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7319         {txt}Pr(|T| > |t|) = {res}0.5362          {txt}Pr(T > t) = {res}0.2681
T-test of means for Emp_p1year

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     48{col 22} 14.58333{col 34} 4.924414{col 46} 34.11734{col 58}  4.67669{col 70} 24.48998
       {txt}1 {c |}{res}{col 12}     12{col 22} 13.33333{col 34}  8.26212{col 46} 28.62082{col 58} -4.85147{col 70} 31.51814
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     60{col 22} 14.33333{col 34} 4.243085{col 46} 32.86679{col 58} 5.842941{col 70} 22.82373
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}     1.25{col 34} 9.618341{col 58}-18.83818{col 70} 21.33818
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.1300
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 19.6239

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5510         {txt}Pr(|T| > |t|) = {res}0.8979          {txt}Pr(T > t) = {res}0.4490
T-test of means for p1cbsa_capacity_annual

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     61{col 22} 10.62295{col 34} .7986204{col 46} 6.237425{col 58} 9.025472{col 70} 12.22043
       {txt}1 {c |}{res}{col 12}     14{col 22} 10.35714{col 34} 1.488443{col 46} 5.569244{col 58} 7.141557{col 70} 13.57273
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     75{col 22} 10.57333{col 34} .7024214{col 46} 6.083148{col 58} 9.173728{col 70} 11.97294
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  .265808{col 34} 1.689159{col 58}-3.245153{col 70} 3.776769
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.1574
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  21.182

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5618         {txt}Pr(|T| > |t|) = {res}0.8765          {txt}Pr(T > t) = {res}0.4382
T-test of means for p1prior_capacity

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     61{col 22} 1.262295{col 34}  .199592{col 46} 1.558863{col 58} .8630517{col 70} 1.661538
       {txt}1 {c |}{res}{col 12}     14{col 22} .5714286{col 34}  .291157{col 46}  1.08941{col 58}-.0575778{col 70} 1.200435
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     75{col 22} 1.133333{col 34} .1732917{col 46} 1.500751{col 58}  .788042{col 70} 1.478625
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .6908665{col 34} .3530005{col 58}-.0336755{col 70} 1.415409
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.9571
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 26.8064

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9696         {txt}Pr(|T| > |t|) = {res}0.0608          {txt}Pr(T > t) = {res}0.0304
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
               control       treat      t-stat
 Woman_own {res}   .1147541   .07142857   .52558727
{txt}         . {res}          .           .   .60431179
{txt}   HUBZone {res}  .03278689   .07142857  -.51496746
{txt}         . {res}          .           .   .61370644
{txt}  Minority {res}          0   .14285714  -1.4719601
{txt}         . {res}          .           .   .16482345
{txt}    yr_est {res}  2000.1754   1995.2857   .63504968
{txt}         . {res}          .           .   .53616364
{txt}Employment {res}  14.583333   13.333333   .12996005
{txt}         . {res}          .           .   .89792095
{txt} CBSA_SBIR {res}  10.622951   10.357143   .15736114
{txt}         . {res}          .           .   .87645061
{txt}SBIR_prior {res}  1.2622951   .57142857   1.9571263
{txt}         . {res}          .           .   .06082142
{reset}{com}. restore
. {c )-}
{txt}
{com}. 
. ********************************************************************************
.         * Table D.3: NC Comparison of means
. {c -(}
. global observed WomanOwn_dum HUB_dum Minority_dum yr_est_full Emp_p1year p1cbsa_capacity_annual p1prior_capacity
.         * NC Sample, Full (Row A, Column 1)
. preserve
.         keep if cohort == 0
{txt}(523 observations deleted)
{com}.         drop if year < 2002
{txt}(0 observations deleted)
{com}.         gen d2 = 1 if p1year > 2005
{txt}(820 missing values generated)
{com}.         recode d2 (.=0)
{txt}(d2: 820 changes made)
{com}.         label var d2 "Post-period"
.         gen dT = 1 if state=="nc"       
{txt}(1,274 missing values generated)
{com}.         recode dT (.=0)
{txt}(dT: 1274 changes made)
{com}.         label variable dT "Treated state"
.         gen d2_dT = d2*dT
.         lab var d2_dT "Policy Effect"
. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ttest `x', by(d2_dT) unequal
{txt}  5{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  6{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  7{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  8{com}. {c )-}
T-test of means for WomanOwn_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,552{col 22} .0631443{col 34} .0061759{col 46} .2433008{col 58} .0510304{col 70} .0752583
       {txt}1 {c |}{res}{col 12}    347{col 22}  .092219{col 34} .0155547{col 46} .2897527{col 58} .0616253{col 70} .1228128
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,899{col 22} .0684571{col 34} .0057965{col 46} .2525951{col 58}  .057089{col 70} .0798252
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0290747{col 34} .0167359{col 58}-.0619628{col 70} .0038134
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.7373
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  461.13

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0415         {txt}Pr(|T| > |t|) = {res}0.0830          {txt}Pr(T > t) = {res}0.9585
T-test of means for HUB_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,552{col 22} .0244845{col 34} .0039243{col 46} .1545977{col 58} .0167871{col 70} .0321819
       {txt}1 {c |}{res}{col 12}    347{col 22} .0201729{col 34} .0075582{col 46} .1407945{col 58}  .005307{col 70} .0350388
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,899{col 22} .0236967{col 34} .0034913{col 46} .1521425{col 58} .0168495{col 70} .0305439
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0043116{col 34} .0085163{col 58}-.0124168{col 70} .0210401
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.5063
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  548.79

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6936         {txt}Pr(|T| > |t|) = {res}0.6129          {txt}Pr(T > t) = {res}0.3064
T-test of means for Minority_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,552{col 22} .0328608{col 34} .0045267{col 46} .1783297{col 58} .0239818{col 70} .0417398
       {txt}1 {c |}{res}{col 12}    347{col 22} .0172911{col 34} .0070079{col 46} .1305419{col 58} .0035077{col 70} .0310744
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,899{col 22} .0300158{col 34} .0039166{col 46} .1706757{col 58} .0223345{col 70} .0376971
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0155698{col 34} .0083427{col 58}-.0008113{col 70} .0319508
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.8663
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 668.983

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9688         {txt}Pr(|T| > |t|) = {res}0.0624          {txt}Pr(T > t) = {res}0.0312
T-test of means for yr_est_full

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,502{col 22} 1994.848{col 34} .2032398{col 46} 7.876689{col 58}  1994.45{col 70} 1995.247
       {txt}1 {c |}{res}{col 12}    341{col 22} 2001.754{col 34} .2849407{col 46} 5.261768{col 58} 2001.193{col 70} 2002.314
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,843{col 22} 1996.126{col 34} .1846841{col 46} 7.928521{col 58} 1995.764{col 70} 1996.488
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-6.905463{col 34} .3499966{col 58}-7.592582{col 70}-6.218345
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}-19.7301
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 731.092

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
T-test of means for Emp_p1year

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,307{col 22} 27.34736{col 34} .7647048{col 46} 27.64596{col 58} 25.84718{col 70} 28.84754
       {txt}1 {c |}{res}{col 12}    290{col 22} 9.162069{col 34} .5917076{col 46} 10.07642{col 58} 7.997466{col 70} 10.32667
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,597{col 22} 24.04508{col 34} .6587339{col 46} 26.32464{col 58} 22.75301{col 70} 25.33716
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 18.18529{col 34} .9668978{col 58}  16.2884{col 70} 20.08218
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} 18.8079
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 1274.09

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}1.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}0.0000
T-test of means for p1cbsa_capacity_annual

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,552{col 22} 22.37436{col 34} .2797883{col 46} 11.02238{col 58} 21.82555{col 70} 22.92316
       {txt}1 {c |}{res}{col 12}    347{col 22} 24.63977{col 34} .7248758{col 46} 13.50294{col 58} 23.21405{col 70} 26.06549
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,899{col 22} 22.78831{col 34} .2649292{col 46} 11.54496{col 58} 22.26873{col 70} 23.30789
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-2.265414{col 34} .7769984{col 58}-3.792369{col 70} -.738459
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.9156
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 454.524

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0019         {txt}Pr(|T| > |t|) = {res}0.0037          {txt}Pr(T > t) = {res}0.9981
T-test of means for p1prior_capacity

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}  1,552{col 22} 35.42204{col 34} 1.607897{col 46} 63.34381{col 58} 32.26815{col 70} 38.57592
       {txt}1 {c |}{res}{col 12}    347{col 22} 4.729107{col 34} .3264701{col 46} 6.081464{col 58} 4.086991{col 70} 5.371222
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,899{col 22} 29.81359{col 34} 1.343243{col 46}  58.5352{col 58}  27.1792{col 70} 32.44797
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 30.69293{col 34} 1.640706{col 58} 27.47487{col 70} 33.91099
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} 18.7071
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  1668.8

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}1.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}0.0000
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
               control       treat      t-stat
 Woman_own {res}  .06314433   .09221902  -1.7372622
{txt}         . {res}          .           .    .0830086
{txt}   HUBZone {res}  .02448454   .02017291   .50628104
{txt}         . {res}          .           .   .61286269
{txt}  Minority {res}  .03286082   .01729107   1.8662723
{txt}         . {res}          .           .   .06244061
{txt}    yr_est {res}  1994.8482   2001.7537  -19.730087
{txt}         . {res}          .           .   8.514e-70
{txt}Employment {res}   27.34736    9.162069   18.807874
{txt}         . {res}          .           .   7.814e-70
{txt} CBSA_SBIR {res}  22.374356   24.639769  -2.9155966
{txt}         . {res}          .           .   .00372559
{txt}SBIR_prior {res}  35.422036   4.7291066   18.707145
{txt}         . {res}          .           .   4.808e-71
{reset}{com}. restore 
. 
.         * NC Sample, HHS (Row A, Column 2)
. preserve
.         keep if agency == "hhs"
{txt}(1,717 observations deleted)
{com}.         keep if cohort == 0
{txt}(207 observations deleted)
{com}.         drop if year < 2002
{txt}(0 observations deleted)
{com}.         gen d2 = 1 if p1year > 2005
{txt}(242 missing values generated)
{com}.         recode d2 (.=0)
{txt}(d2: 242 changes made)
{com}.         label var d2 "Post-period"
.         gen dT = 1 if state=="nc"       
{txt}(185 missing values generated)
{com}.         recode dT (.=0)
{txt}(dT: 185 changes made)
{com}.         label variable dT "Treated state"
.         gen d2_dT = d2*dT
.         lab var d2_dT "Policy Effect"
. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ttest `x', by(d2_dT) unequal
{txt}  5{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  6{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  7{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  8{com}. {c )-}
T-test of means for WomanOwn_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    332{col 22} .0813253{col 34} .0150238{col 46} .2737466{col 58} .0517711{col 70} .1108795
       {txt}1 {c |}{res}{col 12}    166{col 22} .0963855{col 34}  .022975{col 46} .2960122{col 58} .0510226{col 70} .1417484
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    498{col 22} .0863454{col 34} .0125989{col 46} .2811558{col 58} .0615917{col 70}  .111099
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0150602{col 34} .0274511{col 58}-.0690756{col 70} .0389551
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.5486
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 308.191

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2918         {txt}Pr(|T| > |t|) = {res}0.5837          {txt}Pr(T > t) = {res}0.7082
T-test of means for HUB_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    332{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
       {txt}1 {c |}{res}{col 12}    166{col 22} .0060241{col 34} .0060241{col 46} .0776151{col 58}-.0058702{col 70} .0179183
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    498{col 22}  .002008{col 34}  .002008{col 46} .0448111{col 58}-.0019372{col 70} .0059533
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0060241{col 34} .0060241{col 58}-.0179183{col 70} .0058702
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.0000
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}     165

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1594         {txt}Pr(|T| > |t|) = {res}0.3188          {txt}Pr(T > t) = {res}0.8406
T-test of means for Minority_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    332{col 22} .0361446{col 34} .0102592{col 46} .1869315{col 58} .0159631{col 70}  .056326
       {txt}1 {c |}{res}{col 12}    166{col 22} .0120482{col 34} .0084935{col 46} .1094311{col 58}-.0047218{col 70} .0288182
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    498{col 22} .0281124{col 34} .0074145{col 46} .1654603{col 58} .0135449{col 70}   .04268
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0240964{col 34} .0133188{col 58}-.0020734{col 70} .0502662
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.8092
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 484.057

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9645         {txt}Pr(|T| > |t|) = {res}0.0710          {txt}Pr(T > t) = {res}0.0355
T-test of means for yr_est_full

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    322{col 22}  1995.78{col 34}    .5216{col 46} 9.359778{col 58} 1994.753{col 70} 1996.806
       {txt}1 {c |}{res}{col 12}    164{col 22} 2002.055{col 34} .3735667{col 46} 4.783988{col 58} 2001.317{col 70} 2002.793
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    486{col 22} 1997.897{col 34} .3915165{col 46} 8.631142{col 58} 1997.128{col 70} 1998.666
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-6.275375{col 34} .6415751{col 58}-7.535992{col 70}-5.014758
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -9.7812
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 483.989

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
T-test of means for Emp_p1year

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    250{col 22}   17.732{col 34} 1.457153{col 46} 23.03961{col 58} 14.86208{col 70} 20.60192
       {txt}1 {c |}{res}{col 12}    127{col 22}  8.15748{col 34} .8852713{col 46}   9.9765{col 58} 6.405555{col 70} 9.909406
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    377{col 22} 14.50663{col 34} 1.037002{col 46} 20.13493{col 58} 12.46758{col 70} 16.54568
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}  9.57452{col 34} 1.704992{col 58} 6.221761{col 70} 12.92728
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  5.6156
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 367.731

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}1.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}0.0000
T-test of means for p1cbsa_capacity_annual

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    332{col 22} 20.36446{col 34} .6275017{col 46} 11.43363{col 58} 19.13006{col 70} 21.59885
       {txt}1 {c |}{res}{col 12}    166{col 22}  29.6747{col 34}  .957788{col 46} 12.34024{col 58}  27.7836{col 70}  31.5658
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    498{col 22} 23.46787{col 34} .5613407{col 46} 12.52683{col 58} 22.36498{col 70} 24.57076
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-9.310241{col 34}  1.14504{col 58}-11.56331{col 70}-7.057171
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -8.1309
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 308.695

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
T-test of means for p1prior_capacity

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    332{col 22} 14.12048{col 34} 2.074402{col 46} 37.79741{col 58} 10.03981{col 70} 18.20116
       {txt}1 {c |}{res}{col 12}    166{col 22} 5.903614{col 34}  .540795{col 46} 6.967656{col 58} 4.835844{col 70} 6.971385
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    498{col 22} 11.38153{col 34} 1.404684{col 46} 31.34681{col 58} 8.621675{col 70} 14.14138
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 8.216867{col 34} 2.143736{col 58} 4.001583{col 70} 12.43215
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  3.8330
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 374.055

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9999         {txt}Pr(|T| > |t|) = {res}0.0001          {txt}Pr(T > t) = {res}0.0001
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
               control       treat      t-stat
 Woman_own {res}   .0813253   .09638554  -.54861983
{txt}         . {res}          .           .   .58366358
{txt}   HUBZone {res}          0    .0060241          -1
{txt}         . {res}          .           .   .31877477
{txt}  Minority {res}  .03614458   .01204819   1.8091991
{txt}         . {res}          .           .   .07104031
{txt}    yr_est {res}  1995.7795   2002.0549  -9.7812005
{txt}         . {res}          .           .   9.741e-21
{txt}Employment {res}     17.732   8.1574803   5.6155791
{txt}         . {res}          .           .   3.868e-08
{txt} CBSA_SBIR {res}  20.364458   29.674699  -8.1309315
{txt}         . {res}          .           .   1.045e-14
{txt}SBIR_prior {res}  14.120482   5.9036145   3.8329662
{txt}         . {res}          .           .   .00014849
{reset}{com}. restore 
. 
.         * NC Sample, NSF (Row A, Column 3)
. preserve
.         keep if agency == "nsf"
{txt}(2,208 observations deleted)
{com}.         keep if cohort == 0
{txt}(87 observations deleted)
{com}.         drop if year < 2002
{txt}(0 observations deleted)
{com}.         gen d2 = 1 if p1year > 2005
{txt}(45 missing values generated)
{com}.         recode d2 (.=0)
{txt}(d2: 45 changes made)
{com}.         label var d2 "Post-period"
.         gen dT = 1 if state=="nc"       
{txt}(63 missing values generated)
{com}.         recode dT (.=0)
{txt}(dT: 63 changes made)
{com}.         label variable dT "Treated state"
.         gen d2_dT = d2*dT
.         lab var d2_dT "Policy Effect"
. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ttest `x', by(d2_dT) unequal
{txt}  5{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  6{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  7{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  8{com}. {c )-}
T-test of means for WomanOwn_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     83{col 22}  .060241{col 34} .0262753{col 46} .2393792{col 58} .0079711{col 70} .1125109
       {txt}1 {c |}{res}{col 12}     44{col 22} .1590909{col 34}  .055778{col 46} .3699894{col 58} .0466038{col 70}  .271578
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    127{col 22} .0944882{col 34} .0260586{col 46} .2936651{col 58}  .042919{col 70} .1460573
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0988499{col 34} .0616569{col 58}-.2220775{col 70} .0243776
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.6032
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 62.5852

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0570         {txt}Pr(|T| > |t|) = {res}0.1139          {txt}Pr(T > t) = {res}0.9430
T-test of means for HUB_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     83{col 22} .0240964{col 34} .0169345{col 46} .1542807{col 58}-.0095917{col 70} .0577845
       {txt}1 {c |}{res}{col 12}     44{col 22} .0454545{col 34} .0317653{col 46} .2107071{col 58}-.0186063{col 70} .1095153
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    127{col 22} .0314961{col 34} .0155594{col 46} .1753458{col 58} .0007044{col 70} .0622877
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0213582{col 34} .0359974{col 58}-.0931892{col 70} .0504728
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.5933
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 68.0337

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2775         {txt}Pr(|T| > |t|) = {res}0.5549          {txt}Pr(T > t) = {res}0.7225
T-test of means for Minority_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     83{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
       {txt}1 {c |}{res}{col 12}     44{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    127{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}        0{col 34}        0{col 58}        .{col 70}        .
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}       .
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}       .

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}     .         {txt}Pr(|T| > |t|) = {res}     .          {txt}Pr(T > t) = {res}     .
T-test of means for yr_est_full

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     80{col 22}   1999.7{col 34} .6382829{col 46} 5.708976{col 58}  1998.43{col 70}  2000.97
       {txt}1 {c |}{res}{col 12}     41{col 22}  2003.22{col 34} .6500583{col 46} 4.162404{col 58} 2001.906{col 70} 2004.533
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    121{col 22} 2000.893{col 34} .4981787{col 46} 5.479966{col 58} 1999.906{col 70} 2001.879
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-3.519512{col 34} .9110329{col 58}-5.325937{col 70}-1.713087
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -3.8632
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 104.926

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0001         {txt}Pr(|T| > |t|) = {res}0.0002          {txt}Pr(T > t) = {res}0.9999
T-test of means for Emp_p1year

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     70{col 22} 20.37143{col 34} 2.901857{col 46} 24.27868{col 58} 14.58238{col 70} 26.16048
       {txt}1 {c |}{res}{col 12}     36{col 22} 4.388889{col 34} .6252336{col 46} 3.751402{col 58} 3.119597{col 70} 5.658181
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    106{col 22}  14.9434{col 34} 2.060139{col 46} 21.21043{col 58} 10.85852{col 70} 19.02827
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 15.98254{col 34} 2.968449{col 58} 10.06939{col 70} 21.89569
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  5.3841
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 75.2354

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}1.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}0.0000
T-test of means for p1cbsa_capacity_annual

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     83{col 22} 17.83133{col 34} 1.533045{col 46}  13.9667{col 58} 14.78161{col 70} 20.88104
       {txt}1 {c |}{res}{col 12}     44{col 22} 20.93182{col 34} 2.064857{col 46} 13.69671{col 58} 16.76764{col 70}   25.096
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    127{col 22} 18.90551{col 34} 1.233284{col 46}  13.8984{col 58} 16.46488{col 70} 21.34614
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-3.100493{col 34} 2.571743{col 58}-8.210293{col 70} 2.009308
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.2056
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 89.2502

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1156         {txt}Pr(|T| > |t|) = {res}0.2312          {txt}Pr(T > t) = {res}0.8844
T-test of means for p1prior_capacity

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     83{col 22} 16.84337{col 34} 3.980354{col 46} 36.26275{col 58} 8.925181{col 70} 24.76157
       {txt}1 {c |}{res}{col 12}     44{col 22} 1.840909{col 34} .3691931{col 46}  2.44895{col 58}  1.09636{col 70} 2.585458
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    127{col 22} 11.64567{col 34} 2.675639{col 46} 30.15292{col 58} 6.350658{col 70} 16.94068
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 15.00246{col 34}  3.99744{col 58} 7.052289{col 70} 22.95264
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  3.7530
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 83.4052

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9998         {txt}Pr(|T| > |t|) = {res}0.0003          {txt}Pr(T > t) = {res}0.0002
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
               control       treat      t-stat
 Woman_own {res}  .06024096   .15909091  -1.6032254
{txt}         . {res}          .           .   .11392026
{txt}   HUBZone {res}  .02409639   .04545455  -.59332556
{txt}         . {res}          .           .   .55493073
{txt}  Minority {res}          0           0           .
{txt}         . {res}          .           .           .
{txt}    yr_est {res}     1999.7   2003.2195  -3.8632109
{txt}         . {res}          .           .   .00019399
{txt}Employment {res}  20.371429   4.3888889   5.3841374
{txt}         . {res}          .           .   7.979e-07
{txt} CBSA_SBIR {res}  17.831325   20.931818     -1.2056
{txt}         . {res}          .           .   .23115834
{txt}SBIR_prior {res}  16.843373   1.8409091   3.7530182
{txt}         . {res}          .           .   .00032198
{reset}{com}. restore 
. 
.         * NC Less than 5 prior Sample, Full (Row B, Column 1)
. preserve
.         keep if cohort == 0
{txt}(523 observations deleted)
{com}.         drop if year < 2002
{txt}(0 observations deleted)
{com}.         gen d2 = 1 if p1year > 2005
{txt}(820 missing values generated)
{com}.         recode d2 (.=0)
{txt}(d2: 820 changes made)
{com}.         label var d2 "Post-period"
.         gen dT = 1 if state=="nc"       
{txt}(1,274 missing values generated)
{com}.         recode dT (.=0)
{txt}(dT: 1274 changes made)
{com}.         label variable dT "Treated state"
.         gen d2_dT = d2*dT
.         lab var d2_dT "Policy Effect"
.         drop if p1prior_capacity > 5
{txt}(874 observations deleted)
{com}. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ttest `x', by(d2_dT) unequal
{txt}  5{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  6{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  7{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  8{com}. {c )-}
T-test of means for WomanOwn_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    783{col 22}  .109834{col 34} .0111815{col 46} .3128826{col 58} .0878846{col 70} .1317833
       {txt}1 {c |}{res}{col 12}    242{col 22} .0826446{col 34} .0177365{col 46}  .275915{col 58} .0477063{col 70}  .117583
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,025{col 22} .1034146{col 34} .0095156{col 46} .3046483{col 58} .0847423{col 70}  .122087
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0271893{col 34} .0209669{col 58}-.0140161{col 70} .0683948
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.2968
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 448.784

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9023         {txt}Pr(|T| > |t|) = {res}0.1954          {txt}Pr(T > t) = {res}0.0977
T-test of means for HUB_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    783{col 22} .0306513{col 34}  .006164{col 46} .1724814{col 58} .0185514{col 70} .0427513
       {txt}1 {c |}{res}{col 12}    242{col 22} .0289256{col 34} .0107959{col 46} .1679449{col 58} .0076592{col 70}  .050192
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,025{col 22} .0302439{col 34} .0053518{col 46} .1713413{col 58} .0197421{col 70} .0407457
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0017257{col 34} .0124317{col 58} -.022712{col 70} .0261634
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.1388
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 410.301

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.5552         {txt}Pr(|T| > |t|) = {res}0.8897          {txt}Pr(T > t) = {res}0.4448
T-test of means for Minority_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    783{col 22} .0561941{col 34} .0082354{col 46} .2304434{col 58} .0400281{col 70} .0723602
       {txt}1 {c |}{res}{col 12}    242{col 22} .0247934{col 34} .0100163{col 46} .1558172{col 58} .0050627{col 70} .0445241
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,025{col 22} .0487805{col 34} .0067315{col 46}  .215514{col 58} .0355713{col 70} .0619896
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0314007{col 34} .0129672{col 58} .0059336{col 70} .0568679
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.4216
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 593.397

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9921         {txt}Pr(|T| > |t|) = {res}0.0158          {txt}Pr(T > t) = {res}0.0079
T-test of means for yr_est_full

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    737{col 22} 1997.993{col 34} .3120073{col 46} 8.470294{col 58} 1997.381{col 70} 1998.606
       {txt}1 {c |}{res}{col 12}    236{col 22} 2002.682{col 34} .3420617{col 46} 5.254852{col 58} 2002.008{col 70} 2003.356
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    973{col 22} 1999.131{col 34}  .258555{col 46} 8.065092{col 58} 1998.623{col 70} 1999.638
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-4.688988{col 34} .4629846{col 58}-5.598124{col 70}-3.779851
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}-10.1277
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 645.942

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
T-test of means for Emp_p1year

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    586{col 22} 14.93003{col 34} 1.110468{col 46} 26.88157{col 58} 12.74905{col 70} 17.11102
       {txt}1 {c |}{res}{col 12}    213{col 22} 7.577465{col 34} .6869313{col 46} 10.02543{col 58} 6.223374{col 70} 8.931556
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    799{col 22} 12.96996{col 34} .8424175{col 46} 23.81227{col 58} 11.31635{col 70} 14.62358
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 7.352569{col 34} 1.305761{col 58} 4.789429{col 70} 9.915709
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  5.6309
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 796.528

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}1.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}0.0000
T-test of means for p1cbsa_capacity_annual

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    783{col 22} 19.44189{col 34}  .411484{col 46}  11.5142{col 58} 18.63415{col 70} 20.24963
       {txt}1 {c |}{res}{col 12}    242{col 22} 23.72727{col 34} .8817853{col 46} 13.71736{col 58} 21.99028{col 70} 25.46426
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,025{col 22} 20.45366{col 34} .3810713{col 46} 12.20024{col 58} 19.70589{col 70} 21.20143
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-4.285383{col 34} .9730696{col 58} -6.19914{col 70}-2.371626
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -4.4040
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 352.241

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
T-test of means for p1prior_capacity

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    783{col 22} 1.302682{col 34} .0560156{col 46} 1.567437{col 58} 1.192723{col 70} 1.412641
       {txt}1 {c |}{res}{col 12}    242{col 22} 1.367769{col 34} .1017885{col 46} 1.583458{col 58}  1.16726{col 70} 1.568277
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}  1,025{col 22} 1.318049{col 34} .0490605{col 46} 1.570702{col 58} 1.221778{col 70} 1.414319
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0650866{col 34} .1161837{col 58}-.2934974{col 70} .1633242
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.5602
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}  397.83

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2878         {txt}Pr(|T| > |t|) = {res}0.5757          {txt}Pr(T > t) = {res}0.7122
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
               control       treat      t-stat
 Woman_own {res}  .10983397   .08264463   1.2967772
{txt}         . {res}          .           .   .19537418
{txt}   HUBZone {res}  .03065134   .02892562    .1388166
{txt}         . {res}          .           .   .88966318
{txt}  Minority {res}  .05619413   .02479339    2.421554
{txt}         . {res}          .           .   .01575307
{txt}    yr_est {res}  1997.9932   2002.6822  -10.127739
{txt}         . {res}          .           .   1.787e-22
{txt}Employment {res}  14.930034   7.5774648   5.6308673
{txt}         . {res}          .           .   2.486e-08
{txt} CBSA_SBIR {res}   19.44189   23.727273  -4.4039836
{txt}         . {res}          .           .   .00001412
{txt}SBIR_prior {res}   1.302682   1.3677686  -.56020419
{txt}         . {res}          .           .   .57565548
{reset}{com}. restore 
. 
.         * NC Less than 5 prior Sample, HHS (Row B, Column 2)
. preserve
.         keep if agency == "hhs"
{txt}(1,717 observations deleted)
{com}.         keep if cohort == 0
{txt}(207 observations deleted)
{com}.         drop if year < 2002
{txt}(0 observations deleted)
{com}.         gen d2 = 1 if p1year > 2005
{txt}(242 missing values generated)
{com}.         recode d2 (.=0)
{txt}(d2: 242 changes made)
{com}.         label var d2 "Post-period"
.         gen dT = 1 if state=="nc"       
{txt}(185 missing values generated)
{com}.         recode dT (.=0)
{txt}(dT: 185 changes made)
{com}.         label variable dT "Treated state"
.         gen d2_dT = d2*dT
.         lab var d2_dT "Policy Effect"
.         keep if p1prior_capacity < 6
{txt}(183 observations deleted)
{com}. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ttest `x', by(d2_dT) unequal
{txt}  5{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  6{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  7{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  8{com}. {c )-}
T-test of means for WomanOwn_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    216{col 22} .1111111{col 34}  .021433{col 46} .3149997{col 58} .0688654{col 70} .1533568
       {txt}1 {c |}{res}{col 12}     99{col 22} .0606061{col 34} .0241029{col 46} .2398206{col 58} .0127747{col 70} .1084374
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    315{col 22} .0952381{col 34} .0165656{col 46} .2940106{col 58} .0626444{col 70} .1278317
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0505051{col 34}  .032254{col 58}-.0130261{col 70} .1140362
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.5659
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 244.559

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9407         {txt}Pr(|T| > |t|) = {res}0.1187          {txt}Pr(T > t) = {res}0.0593
T-test of means for HUB_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    216{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
       {txt}1 {c |}{res}{col 12}     99{col 22}  .010101{col 34}  .010101{col 46} .1005038{col 58}-.0099441{col 70} .0301461
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    315{col 22} .0031746{col 34} .0031746{col 46} .0563436{col 58}-.0030716{col 70} .0094208
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -.010101{col 34}  .010101{col 58}-.0301461{col 70} .0099441
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.0000
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}      98

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1599         {txt}Pr(|T| > |t|) = {res}0.3198          {txt}Pr(T > t) = {res}0.8401
T-test of means for Minority_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    216{col 22} .0509259{col 34} .0149934{col 46} .2203572{col 58}  .021373{col 70} .0804788
       {txt}1 {c |}{res}{col 12}     99{col 22}  .020202{col 34} .0142119{col 46} .1414068{col 58}-.0080011{col 70} .0484051
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    315{col 22} .0412698{col 34} .0112253{col 46} .1992301{col 58} .0191834{col 70} .0633562
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0307239{col 34} .0206587{col 58}-.0099423{col 70} .0713902
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.4872
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 279.646

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9310         {txt}Pr(|T| > |t|) = {res}0.1381          {txt}Pr(T > t) = {res}0.0690
T-test of means for yr_est_full

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    206{col 22}  1998.99{col 34} .6418948{col 46} 9.212923{col 58} 1997.725{col 70} 2000.256
       {txt}1 {c |}{res}{col 12}     97{col 22} 2002.948{col 34} .4821494{col 46} 4.748621{col 58} 2001.991{col 70} 2003.906
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    303{col 22} 2000.257{col 34} .4744461{col 46} 8.258634{col 58} 1999.324{col 70} 2001.191
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-3.958162{col 34} .8028057{col 58}-5.538036{col 70}-2.378289
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -4.9304
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 298.603

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
T-test of means for Emp_p1year

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    148{col 22} 12.14865{col 34} 1.863946{col 46} 22.67588{col 58} 8.465057{col 70} 15.83224
       {txt}1 {c |}{res}{col 12}     85{col 22} 7.294118{col 34} 1.279314{col 46}  11.7947{col 58} 4.750061{col 70} 9.838175
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    233{col 22} 10.37768{col 34} 1.279851{col 46} 19.53608{col 58} 7.856066{col 70}  12.8993
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 4.854531{col 34} 2.260739{col 58}  .400037{col 70} 9.309025
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.1473
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 229.134

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9836         {txt}Pr(|T| > |t|) = {res}0.0328          {txt}Pr(T > t) = {res}0.0164
T-test of means for p1cbsa_capacity_annual

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    216{col 22} 21.05556{col 34}  .799404{col 46} 11.74879{col 58} 19.47988{col 70} 22.63123
       {txt}1 {c |}{res}{col 12}     99{col 22}  30.0404{col 34} 1.185872{col 46} 11.79927{col 58} 27.68708{col 70} 32.39373
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    315{col 22} 23.87937{col 34} .7024188{col 46}  12.4667{col 58} 22.49732{col 70} 25.26141
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-8.984848{col 34} 1.430153{col 58}-11.80592{col 70} -6.16378
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -6.2824
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 189.469

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
T-test of means for p1prior_capacity

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    216{col 22} 1.351852{col 34} .1087533{col 46} 1.598341{col 58} 1.137493{col 70} 1.566211
       {txt}1 {c |}{res}{col 12}     99{col 22} 1.212121{col 34} .1325835{col 46} 1.319189{col 58} .9490136{col 70} 1.475229
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    315{col 22} 1.307937{col 34}  .085386{col 46} 1.515451{col 58} 1.139935{col 70} 1.475938
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .1397306{col 34} .1714808{col 58}-.1981644{col 70} .4776257
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.8148
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 227.331

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7920         {txt}Pr(|T| > |t|) = {res}0.4160          {txt}Pr(T > t) = {res}0.2080
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
               control       treat      t-stat
 Woman_own {res}  .11111111   .06060606   1.5658522
{txt}         . {res}          .           .   .11867623
{txt}   HUBZone {res}          0   .01010101          -1
{txt}         . {res}          .           .   .31977329
{txt}  Minority {res}  .05092593   .02020202   1.4872158
{txt}         . {res}          .           .   .13808446
{txt}    yr_est {res}  1998.9903   2002.9485  -4.9304116
{txt}         . {res}          .           .   1.364e-06
{txt}Employment {res}  12.148649   7.2941176   2.1473208
{txt}         . {res}          .           .   .03281757
{txt} CBSA_SBIR {res}  21.055556   30.040404  -6.2824379
{txt}         . {res}          .           .   2.232e-09
{txt}SBIR_prior {res}  1.3518519   1.2121212   .81484708
{txt}         . {res}          .           .   .41601267
{reset}{com}. restore 
. 
.         * NC Less than 5 prior Sample, NSF (Row A, Column 3)
. preserve
.         keep if agency == "nsf"
{txt}(2,208 observations deleted)
{com}.         keep if cohort == 0
{txt}(87 observations deleted)
{com}.         drop if year < 2002
{txt}(0 observations deleted)
{com}.         gen d2 = 1 if p1year > 2005
{txt}(45 missing values generated)
{com}.         recode d2 (.=0)
{txt}(d2: 45 changes made)
{com}.         label var d2 "Post-period"
.         gen dT = 1 if state=="nc"       
{txt}(63 missing values generated)
{com}.         recode dT (.=0)
{txt}(dT: 63 changes made)
{com}.         label variable dT "Treated state"
.         gen d2_dT = d2*dT
.         lab var d2_dT "Policy Effect"
.         keep if p1prior_capacity < 6
{txt}(33 observations deleted)
{com}. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ttest `x', by(d2_dT) unequal
{txt}  5{com}. matrix m1 = m1\(r(mu_1)\.)
{txt}  6{com}. matrix m2 = m2\(r(mu_2)\.)
{txt}  7{com}. matrix m3 = m3\(r(t)\r(p))
{txt}  8{com}. {c )-}
T-test of means for WomanOwn_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     55{col 22} .0909091{col 34}  .039121{col 46} .2901294{col 58} .0124761{col 70} .1693421
       {txt}1 {c |}{res}{col 12}     39{col 22} .1794872{col 34}  .062254{col 46} .3887764{col 58} .0534604{col 70} .3055139
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     94{col 22} .1276596{col 34} .0346042{col 46} .3354997{col 58} .0589426{col 70} .1963766
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0885781{col 34} .0735257{col 58} -.235351{col 70} .0581949
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.2047
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 66.6267

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.1163         {txt}Pr(|T| > |t|) = {res}0.2326          {txt}Pr(T > t) = {res}0.8837
T-test of means for HUB_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     55{col 22} .0363636{col 34} .0254738{col 46} .1889186{col 58}-.0147082{col 70} .0874355
       {txt}1 {c |}{res}{col 12}     39{col 22} .0512821{col 34} .0357816{col 46} .2234559{col 58} -.021154{col 70} .1237181
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     94{col 22} .0425532{col 34} .0209306{col 46} .2029298{col 58} .0009891{col 70} .0841172
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0149184{col 34} .0439231{col 58}-.1024555{col 70} .0726186
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.3396
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 73.0719

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3675         {txt}Pr(|T| > |t|) = {res}0.7351          {txt}Pr(T > t) = {res}0.6325
T-test of means for Minority_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     55{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
       {txt}1 {c |}{res}{col 12}     39{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     94{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}        0{col 34}        0{col 58}        .{col 70}        .
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}       .
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}       .

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}     .         {txt}Pr(|T| > |t|) = {res}     .          {txt}Pr(T > t) = {res}     .
T-test of means for yr_est_full

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     52{col 22} 2002.058{col 34} .6210325{col 46} 4.478329{col 58} 2000.811{col 70} 2003.304
       {txt}1 {c |}{res}{col 12}     36{col 22} 2003.472{col 34} .7308248{col 46} 4.384949{col 58} 2001.989{col 70} 2004.956
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     88{col 22} 2002.636{col 34} .4765071{col 46} 4.470033{col 58} 2001.689{col 70} 2003.583
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -1.41453{col 34} .9590549{col 58}-3.324474{col 70} .4954145
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.4749
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 76.4428

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0722         {txt}Pr(|T| > |t|) = {res}0.1443          {txt}Pr(T > t) = {res}0.9278
T-test of means for Emp_p1year

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     42{col 22}  13.2381{col 34} 3.785603{col 46} 24.53351{col 58} 5.592915{col 70} 20.88328
       {txt}1 {c |}{res}{col 12}     33{col 22} 3.757576{col 34} .4904974{col 46} 2.817693{col 58} 2.758465{col 70} 4.756686
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     75{col 22} 9.066667{col 34} 2.188943{col 46}  18.9568{col 58} 4.705103{col 70} 13.42823
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 9.480519{col 34} 3.817247{col 58}  1.77901{col 70} 17.18203
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  2.4836
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 42.3729

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9915         {txt}Pr(|T| > |t|) = {res}0.0170          {txt}Pr(T > t) = {res}0.0085
T-test of means for p1cbsa_capacity_annual

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     55{col 22} 17.49091{col 34}  2.02989{col 46} 15.05407{col 58} 13.42122{col 70} 21.56059
       {txt}1 {c |}{res}{col 12}     39{col 22} 19.84615{col 34}  2.16852{col 46} 13.54241{col 58} 15.45621{col 70} 24.23609
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     94{col 22} 18.46809{col 34} 1.487129{col 46} 14.41825{col 58} 15.51494{col 70} 21.42123
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-2.355245{col 34} 2.970342{col 58}-8.259269{col 70} 3.548779
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.7929
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 86.8467

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.2150         {txt}Pr(|T| > |t|) = {res}0.4300          {txt}Pr(T > t) = {res}0.7850
T-test of means for p1prior_capacity

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     55{col 22} .7818182{col 34} .1754089{col 46} 1.300867{col 58} .4301445{col 70} 1.133492
       {txt}1 {c |}{res}{col 12}     39{col 22} 1.153846{col 34} .2280542{col 46} 1.424198{col 58} .6921746{col 70} 1.615518
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     94{col 22} .9361702{col 34} .1401118{col 46} 1.358435{col 58} .6579359{col 70} 1.214405
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} -.372028{col 34} .2877099{col 58}-.9449035{col 70} .2008475
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.2931
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 77.2382

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0999         {txt}Pr(|T| > |t|) = {res}0.1998          {txt}Pr(T > t) = {res}0.9001
{com}. matrix q1 = (m1[2..15,1..1],m2[2..15,1..1],m3[2..15,1..1])
. matrix colnames q1 = control treat t-stat
. matrix rownames q1 = Woman_own . HUBZone . Minority . yr_est . Employment . CBSA_SBIR . SBIR_prior . 
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[14,3]
               control       treat      t-stat
 Woman_own {res}  .09090909   .17948718  -1.2047235
{txt}         . {res}          .           .   .23257202
{txt}   HUBZone {res}  .03636364   .05128205  -.33964887
{txt}         . {res}          .           .   .73509528
{txt}  Minority {res}          0           0           .
{txt}         . {res}          .           .           .
{txt}    yr_est {res}  2002.0577   2003.4722  -1.4749207
{txt}         . {res}          .           .   .14434077
{txt}Employment {res}  13.238095   3.7575758   2.4836011
{txt}         . {res}          .           .   .01704394
{txt} CBSA_SBIR {res}  17.490909   19.846154  -.79292029
{txt}         . {res}          .           .   .42998513
{txt}SBIR_prior {res}  .78181818   1.1538462  -1.2930661
{txt}         . {res}          .           .    .1998425
{reset}{com}. restore
. {c )-}
{txt}
{com}. 
. ********************************************************************************
.         * Table D.4: NC Differential Model
. {c -(}
. preserve 
. keep if cohort == 0
{txt}(523 observations deleted)
{com}. gen d2 = 1 if p1year > 2005
{txt}(820 missing values generated)
{com}. recode d2 (.=0)
{txt}(d2: 820 changes made)
{com}. label var d2 "Post-period"
. gen dT = 1 if state=="nc"
{txt}(1,274 missing values generated)
{com}. recode dT (.=0)
{txt}(dT: 1274 changes made)
{com}. label variable dT "Treated state"
. gen d2_dT = d2*dT
. lab var d2_dT "Policy Effect"
. global ddcontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year
. global y phase2
. drop if p1year < 2002
{txt}(0 observations deleted)
{com}. 
.         ** Table D.4, Column 1
.         drop if p1prior_capacity > 5
{txt}(874 observations deleted)
{com}.         reg $y d2 dT d2_dT $ddcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       798
                                                {txt}F(9, 373)         =  {res}     1.99
                                                {txt}Prob > F          = {res}    0.0394
                                                {txt}R-squared         = {res}    0.0231
                                                {txt}Root MSE          =    {res}  .4969

{txt}{ralign 88:(Std. Err. adjusted for {res:374} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.1698867{col 36}{space 2} .0505794{col 47}{space 1}   -3.36{col 56}{space 3}0.001{col 64}{space 4}-.2693432{col 77}{space 3}-.0704302
{txt}{space 20}dT {c |}{col 24}{res}{space 2} -.153148{col 36}{space 2} .0537691{col 47}{space 1}   -2.85{col 56}{space 3}0.005{col 64}{space 4}-.2588766{col 77}{space 3}-.0474194
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .1541261{col 36}{space 2} .0690787{col 47}{space 1}    2.23{col 56}{space 3}0.026{col 64}{space 4} .0182936{col 77}{space 3} .2899586
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0186874{col 36}{space 2} .0532187{col 47}{space 1}   -0.35{col 56}{space 3}0.726{col 64}{space 4}-.1233338{col 77}{space 3} .0859589
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} -.023735{col 36}{space 2} .0999014{col 47}{space 1}   -0.24{col 56}{space 3}0.812{col 64}{space 4}-.2201756{col 77}{space 3} .1727056
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.0607228{col 36}{space 2} .0782939{col 47}{space 1}   -0.78{col 56}{space 3}0.438{col 64}{space 4}-.2146757{col 77}{space 3}   .09323
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2}  .002064{col 36}{space 2} .0017344{col 47}{space 1}    1.19{col 56}{space 3}0.235{col 64}{space 4}-.0013465{col 77}{space 3} .0054744
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0005092{col 36}{space 2}  .002486{col 47}{space 1}   -0.20{col 56}{space 3}0.838{col 64}{space 4}-.0053975{col 77}{space 3} .0043791
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0001254{col 36}{space 2} .0007327{col 47}{space 1}   -0.17{col 56}{space 3}0.864{col 64}{space 4}-.0015661{col 77}{space 3} .0013154
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 1.585841{col 36}{space 2} 4.962663{col 47}{space 1}    0.32{col 56}{space 3}0.749{col 64}{space 4}-8.172464{col 77}{space 3} 11.34415
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) replace addtext(Sample, Full 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}. 
.         ** Table D.4: Column 2
.         reg $y d2 dT d2_dT $ddcontrol if agency == "hhs", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       233
                                                {txt}{help j_robustsingular:F(8, 120) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.0738
                                                {txt}Root MSE          =    {res} .48987

{txt}{ralign 88:(Std. Err. adjusted for {res:121} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.3409679{col 36}{space 2} .0912131{col 47}{space 1}   -3.74{col 56}{space 3}0.000{col 64}{space 4}-.5215636{col 77}{space 3}-.1603723
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.1509944{col 36}{space 2} .1026624{col 47}{space 1}   -1.47{col 56}{space 3}0.144{col 64}{space 4}-.3542587{col 77}{space 3} .0522699
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .3188237{col 36}{space 2} .1219848{col 47}{space 1}    2.61{col 56}{space 3}0.010{col 64}{space 4} .0773023{col 77}{space 3}  .560345
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .1559858{col 36}{space 2} .0904691{col 47}{space 1}    1.72{col 56}{space 3}0.087{col 64}{space 4}-.0231367{col 77}{space 3} .3351082
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .6149514{col 36}{space 2} .0967884{col 47}{space 1}    6.35{col 56}{space 3}0.000{col 64}{space 4}  .423317{col 77}{space 3} .8065858
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} -.029702{col 36}{space 2} .1254887{col 47}{space 1}   -0.24{col 56}{space 3}0.813{col 64}{space 4} -.278161{col 77}{space 3}  .218757
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0018212{col 36}{space 2} .0031862{col 47}{space 1}    0.57{col 56}{space 3}0.569{col 64}{space 4}-.0044873{col 77}{space 3} .0081297
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0049514{col 36}{space 2} .0050158{col 47}{space 1}   -0.99{col 56}{space 3}0.326{col 64}{space 4}-.0148824{col 77}{space 3} .0049795
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0041008{col 36}{space 2} .0022332{col 47}{space 1}   -1.84{col 56}{space 3}0.069{col 64}{space 4}-.0085224{col 77}{space 3} .0003208
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 10.50433{col 36}{space 2} 10.03916{col 47}{space 1}    1.05{col 56}{space 3}0.298{col 64}{space 4}-9.372512{col 77}{space 3} 30.38117
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         
.         ** Table 2: Column 4
.         drop if p1prior_capacity > 3
{txt}(143 observations deleted)
{com}.         reg $y d2 dT d2_dT $ddcontrol if agency == "hhs", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       195
                                                {txt}{help j_robustsingular:F(8, 113) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.0742
                                                {txt}Root MSE          =    {res} .49282

{txt}{ralign 88:(Std. Err. adjusted for {res:114} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.4021386{col 36}{space 2} .1148381{col 47}{space 1}   -3.50{col 56}{space 3}0.001{col 64}{space 4}-.6296537{col 77}{space 3}-.1746236
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.2022294{col 36}{space 2} .1267937{col 47}{space 1}   -1.59{col 56}{space 3}0.114{col 64}{space 4}-.4534306{col 77}{space 3} .0489719
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .3653446{col 36}{space 2} .1481698{col 47}{space 1}    2.47{col 56}{space 3}0.015{col 64}{space 4} .0717935{col 77}{space 3} .6588957
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .1504529{col 36}{space 2} .1311501{col 47}{space 1}    1.15{col 56}{space 3}0.254{col 64}{space 4}-.1093792{col 77}{space 3}  .410285
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .6193964{col 36}{space 2} .1056965{col 47}{space 1}    5.86{col 56}{space 3}0.000{col 64}{space 4} .4099925{col 77}{space 3} .8288002
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .1250599{col 36}{space 2} .1423422{col 47}{space 1}    0.88{col 56}{space 3}0.381{col 64}{space 4}-.1569456{col 77}{space 3} .4070654
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0022555{col 36}{space 2}  .003529{col 47}{space 1}    0.64{col 56}{space 3}0.524{col 64}{space 4} -.004736{col 77}{space 3} .0092471
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0039352{col 36}{space 2} .0055637{col 47}{space 1}   -0.71{col 56}{space 3}0.481{col 64}{space 4} -.014958{col 77}{space 3} .0070876
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0034857{col 36}{space 2} .0026909{col 47}{space 1}   -1.30{col 56}{space 3}0.198{col 64}{space 4}-.0088167{col 77}{space 3} .0018454
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 8.519636{col 36}{space 2} 11.13242{col 47}{space 1}    0.77{col 56}{space 3}0.446{col 64}{space 4} -13.5357{col 77}{space 3} 30.57497
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 3 Prior)
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}. restore
. {c )-}
{txt}
{com}.         
. ********************************************************************************        
.         * Table D.5: NC Robustness checks for differential model
. {c -(}
.         *Row A & B; Row C is derived: (Row B - Row A)
. preserve
. set more off
. keep if cohort == 0
{txt}(523 observations deleted)
{com}. gen d2 = 1 if p1year > 2005
{txt}(820 missing values generated)
{com}. recode d2 (.=0)
{txt}(d2: 820 changes made)
{com}. label var d2 "Post-period"
. gen dT = 1 if state=="nc"
{txt}(1,274 missing values generated)
{com}. recode dT (.=0)
{txt}(dT: 1274 changes made)
{com}. label variable dT "Treated state"
. gen d2_dT = d2*dT
. lab var d2_dT "Policy Effect"
. global ddcontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year
. global y phase2
. drop if p1year < 2002
{txt}(0 observations deleted)
{com}. ** Table D.5, Column 1
.         * Row A
.         drop if p1prior_capacity > 5
{txt}(874 observations deleted)
{com}.         logit $y d2 dT d2_dT $ddcontrol, cluster(firm_id)

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-552.48967}  
Iteration 1:{space 3}log pseudolikelihood = {res:-543.19948}  
Iteration 2:{space 3}log pseudolikelihood = {res:-543.19759}  
Iteration 3:{space 3}log pseudolikelihood = {res:-543.19759}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       798
{txt}{col 49}Wald chi2({res}9{txt}){col 67}= {res}     17.04
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0481
{txt}Log pseudolikelihood = {res}-543.19759{txt}{col 49}Pseudo R2{col 67}= {res}    0.0168

{txt}{ralign 88:(Std. Err. adjusted for {res:374} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2} -.688842{col 36}{space 2} .2077254{col 47}{space 1}   -3.32{col 56}{space 3}0.001{col 64}{space 4}-1.095976{col 77}{space 3}-.2817077
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.6206717{col 36}{space 2} .2195774{col 47}{space 1}   -2.83{col 56}{space 3}0.005{col 64}{space 4}-1.051036{col 77}{space 3}-.1903079
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .6245634{col 36}{space 2} .2813033{col 47}{space 1}    2.22{col 56}{space 3}0.026{col 64}{space 4} .0732191{col 77}{space 3} 1.175908
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0772068{col 36}{space 2} .2179881{col 47}{space 1}   -0.35{col 56}{space 3}0.723{col 64}{space 4}-.5044556{col 77}{space 3} .3500421
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}-.0990284{col 36}{space 2} .4149956{col 47}{space 1}   -0.24{col 56}{space 3}0.811{col 64}{space 4}-.9124048{col 77}{space 3} .7143479
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.2504417{col 36}{space 2}  .324087{col 47}{space 1}   -0.77{col 56}{space 3}0.440{col 64}{space 4}-.8856404{col 77}{space 3} .3847571
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0084294{col 36}{space 2} .0070767{col 47}{space 1}    1.19{col 56}{space 3}0.234{col 64}{space 4}-.0054407{col 77}{space 3} .0222994
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0021269{col 36}{space 2} .0101662{col 47}{space 1}   -0.21{col 56}{space 3}0.834{col 64}{space 4}-.0220522{col 77}{space 3} .0177984
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0005386{col 36}{space 2} .0030547{col 47}{space 1}   -0.18{col 56}{space 3}0.860{col 64}{space 4}-.0065257{col 77}{space 3} .0054485
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 4.527551{col 36}{space 2} 20.29581{col 47}{space 1}    0.22{col 56}{space 3}0.823{col 64}{space 4}-35.25151{col 77}{space 3} 44.30661
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{com}.         margins, dydx(*) post
{res}
{txt}Average marginal effects{col 49}Number of obs{col 67}= {res}       798
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Pr(phase2), predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:dy/dx w.r.t.}:{space 1}{res:d2 dT d2_dT WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year}{p_end}
{p2colreset}{...}

{res}{txt}{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36} Delta-method
{col 24}{c |}      dy/dx{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.1679535{col 36}{space 2} .0492186{col 47}{space 1}   -3.41{col 56}{space 3}0.001{col 64}{space 4}-.2644201{col 77}{space 3}-.0714868
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.1513322{col 36}{space 2} .0523434{col 47}{space 1}   -2.89{col 56}{space 3}0.004{col 64}{space 4}-.2539233{col 77}{space 3}-.0487411
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .1522811{col 36}{space 2} .0677506{col 47}{space 1}    2.25{col 56}{space 3}0.025{col 64}{space 4} .0194924{col 77}{space 3} .2850698
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0188246{col 36}{space 2} .0531553{col 47}{space 1}   -0.35{col 56}{space 3}0.723{col 64}{space 4}-.1230071{col 77}{space 3}  .085358
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}-.0241451{col 36}{space 2} .1011595{col 47}{space 1}   -0.24{col 56}{space 3}0.811{col 64}{space 4}-.2224141{col 77}{space 3} .1741239
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.0610627{col 36}{space 2} .0788916{col 47}{space 1}   -0.77{col 56}{space 3}0.439{col 64}{space 4}-.2156873{col 77}{space 3} .0935619
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0020552{col 36}{space 2} .0017154{col 47}{space 1}    1.20{col 56}{space 3}0.231{col 64}{space 4}-.0013068{col 77}{space 3} .0054173
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0005186{col 36}{space 2} .0024781{col 47}{space 1}   -0.21{col 56}{space 3}0.834{col 64}{space 4}-.0053755{col 77}{space 3} .0043384
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0001313{col 36}{space 2} .0007447{col 47}{space 1}   -0.18{col 56}{space 3}0.860{col 64}{space 4}-.0015909{col 77}{space 3} .0013283
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) replace addtext(Logit) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row B
.         reg $y d2 dT d2_dT $ddcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       798
                                                {txt}F(9, 373)         =  {res}     1.99
                                                {txt}Prob > F          = {res}    0.0394
                                                {txt}R-squared         = {res}    0.0231
                                                {txt}Root MSE          =    {res}  .4969

{txt}{ralign 88:(Std. Err. adjusted for {res:374} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.1698867{col 36}{space 2} .0505794{col 47}{space 1}   -3.36{col 56}{space 3}0.001{col 64}{space 4}-.2693432{col 77}{space 3}-.0704302
{txt}{space 20}dT {c |}{col 24}{res}{space 2} -.153148{col 36}{space 2} .0537691{col 47}{space 1}   -2.85{col 56}{space 3}0.005{col 64}{space 4}-.2588766{col 77}{space 3}-.0474194
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .1541261{col 36}{space 2} .0690787{col 47}{space 1}    2.23{col 56}{space 3}0.026{col 64}{space 4} .0182936{col 77}{space 3} .2899586
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0186874{col 36}{space 2} .0532187{col 47}{space 1}   -0.35{col 56}{space 3}0.726{col 64}{space 4}-.1233338{col 77}{space 3} .0859589
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} -.023735{col 36}{space 2} .0999014{col 47}{space 1}   -0.24{col 56}{space 3}0.812{col 64}{space 4}-.2201756{col 77}{space 3} .1727056
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.0607228{col 36}{space 2} .0782939{col 47}{space 1}   -0.78{col 56}{space 3}0.438{col 64}{space 4}-.2146757{col 77}{space 3}   .09323
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2}  .002064{col 36}{space 2} .0017344{col 47}{space 1}    1.19{col 56}{space 3}0.235{col 64}{space 4}-.0013465{col 77}{space 3} .0054744
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0005092{col 36}{space 2}  .002486{col 47}{space 1}   -0.20{col 56}{space 3}0.838{col 64}{space 4}-.0053975{col 77}{space 3} .0043791
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0001254{col 36}{space 2} .0007327{col 47}{space 1}   -0.17{col 56}{space 3}0.864{col 64}{space 4}-.0015661{col 77}{space 3} .0013154
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 1.585841{col 36}{space 2} 4.962663{col 47}{space 1}    0.32{col 56}{space 3}0.749{col 64}{space 4}-8.172464{col 77}{space 3} 11.34415
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(LPM) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row D
.                 predict yhat 
{txt}(option {bf:xb} assumed; fitted values)
(227 missing values generated)
{com}.                 sum yhat 

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 8}yhat {c |}{res}        798    .4799499    .0760591   .2917291   .6345528
{com}.                 gen oor=yhat<0|yhat>1 &yhat!=.
.                 tab oor

        {txt}oor {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}      1,025      100.00      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      1,025      100.00
{com}.                 drop yhat oor
.         
. ** Table D.5, Column 2
.         * Row A
.         logit $y d2 dT d2_dT $ddcontrol if agency == "hhs", cluster(firm_id)

{txt}note: HUB_dum != 0 predicts success perfectly
      HUB_dum dropped and 1 obs not used

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-159.76547}  
Iteration 1:{space 3}log pseudolikelihood = {res:-151.39041}  
Iteration 2:{space 3}log pseudolikelihood = {res:-151.35367}  
Iteration 3:{space 3}log pseudolikelihood = {res:-151.35365}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       232
{txt}{col 49}Wald chi2({res}8{txt}){col 67}= {res}     22.18
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0046
{txt}Log pseudolikelihood = {res}-151.35365{txt}{col 49}Pseudo R2{col 67}= {res}    0.0527

{txt}{ralign 88:(Std. Err. adjusted for {res:120} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-1.482868{col 36}{space 2} .4206293{col 47}{space 1}   -3.53{col 56}{space 3}0.000{col 64}{space 4}-2.307287{col 77}{space 3}-.6584501
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.6318229{col 36}{space 2} .4316736{col 47}{space 1}   -1.46{col 56}{space 3}0.143{col 64}{space 4}-1.477888{col 77}{space 3} .2142417
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} 1.398453{col 36}{space 2}  .539661{col 47}{space 1}    2.59{col 56}{space 3}0.010{col 64}{space 4} .3407374{col 77}{space 3}  2.45617
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .6642654{col 36}{space 2} .3841881{col 47}{space 1}    1.73{col 56}{space 3}0.084{col 64}{space 4}-.0887295{col 77}{space 3}  1.41726
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}        0{col 36}{txt}  (omitted)
{space 10}Minority_dum {c |}{col 24}{res}{space 2} -.112734{col 36}{space 2}  .555585{col 47}{space 1}   -0.20{col 56}{space 3}0.839{col 64}{space 4}-1.201661{col 77}{space 3} .9761925
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0076605{col 36}{space 2} .0135708{col 47}{space 1}    0.56{col 56}{space 3}0.572{col 64}{space 4}-.0189377{col 77}{space 3} .0342587
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0227538{col 36}{space 2} .0252698{col 47}{space 1}   -0.90{col 56}{space 3}0.368{col 64}{space 4}-.0722817{col 77}{space 3} .0267741
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0198335{col 36}{space 2} .0125461{col 47}{space 1}   -1.58{col 56}{space 3}0.114{col 64}{space 4}-.0444233{col 77}{space 3} .0047563
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 45.94983{col 36}{space 2} 50.59523{col 47}{space 1}    0.91{col 56}{space 3}0.364{col 64}{space 4}-53.21499{col 77}{space 3} 145.1147
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{com}.         margins, dydx(*) post
{res}
{txt}Average marginal effects{col 49}Number of obs{col 67}= {res}       232
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Pr(phase2), predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:dy/dx w.r.t.}:{space 1}{res:d2 dT d2_dT WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year}{p_end}
{p2colreset}{...}

{res}{txt}{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36} Delta-method
{col 24}{c |}      dy/dx{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.3419495{col 36}{space 2} .0899022{col 47}{space 1}   -3.80{col 56}{space 3}0.000{col 64}{space 4}-.5181545{col 77}{space 3}-.1657444
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.1456984{col 36}{space 2} .0980032{col 47}{space 1}   -1.49{col 56}{space 3}0.137{col 64}{space 4} -.337781{col 77}{space 3} .0463843
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .3224834{col 36}{space 2} .1182902{col 47}{space 1}    2.73{col 56}{space 3}0.006{col 64}{space 4} .0906389{col 77}{space 3} .5543279
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .1531796{col 36}{space 2} .0875318{col 47}{space 1}    1.75{col 56}{space 3}0.080{col 64}{space 4}-.0183796{col 77}{space 3} .3247389
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}        0{col 36}{txt}  (omitted)
{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.0259965{col 36}{space 2} .1280608{col 47}{space 1}   -0.20{col 56}{space 3}0.839{col 64}{space 4}-.2769911{col 77}{space 3} .2249982
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0017665{col 36}{space 2} .0031265{col 47}{space 1}    0.57{col 56}{space 3}0.572{col 64}{space 4}-.0043614{col 77}{space 3} .0078944
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2} -.005247{col 36}{space 2} .0057642{col 47}{space 1}   -0.91{col 56}{space 3}0.363{col 64}{space 4}-.0165447{col 77}{space 3} .0060506
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0045736{col 36}{space 2} .0028291{col 47}{space 1}   -1.62{col 56}{space 3}0.106{col 64}{space 4}-.0101185{col 77}{space 3} .0009713
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Logit) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row B
.         reg $y d2 dT d2_dT $ddcontrol if agency == "hhs", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       233
                                                {txt}{help j_robustsingular:F(8, 120) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.0738
                                                {txt}Root MSE          =    {res} .48987

{txt}{ralign 88:(Std. Err. adjusted for {res:121} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.3409679{col 36}{space 2} .0912131{col 47}{space 1}   -3.74{col 56}{space 3}0.000{col 64}{space 4}-.5215636{col 77}{space 3}-.1603723
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.1509944{col 36}{space 2} .1026624{col 47}{space 1}   -1.47{col 56}{space 3}0.144{col 64}{space 4}-.3542587{col 77}{space 3} .0522699
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .3188237{col 36}{space 2} .1219848{col 47}{space 1}    2.61{col 56}{space 3}0.010{col 64}{space 4} .0773023{col 77}{space 3}  .560345
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .1559858{col 36}{space 2} .0904691{col 47}{space 1}    1.72{col 56}{space 3}0.087{col 64}{space 4}-.0231367{col 77}{space 3} .3351082
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .6149514{col 36}{space 2} .0967884{col 47}{space 1}    6.35{col 56}{space 3}0.000{col 64}{space 4}  .423317{col 77}{space 3} .8065858
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} -.029702{col 36}{space 2} .1254887{col 47}{space 1}   -0.24{col 56}{space 3}0.813{col 64}{space 4} -.278161{col 77}{space 3}  .218757
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0018212{col 36}{space 2} .0031862{col 47}{space 1}    0.57{col 56}{space 3}0.569{col 64}{space 4}-.0044873{col 77}{space 3} .0081297
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0049514{col 36}{space 2} .0050158{col 47}{space 1}   -0.99{col 56}{space 3}0.326{col 64}{space 4}-.0148824{col 77}{space 3} .0049795
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0041008{col 36}{space 2} .0022332{col 47}{space 1}   -1.84{col 56}{space 3}0.069{col 64}{space 4}-.0085224{col 77}{space 3} .0003208
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 10.50433{col 36}{space 2} 10.03916{col 47}{space 1}    1.05{col 56}{space 3}0.298{col 64}{space 4}-9.372512{col 77}{space 3} 30.38117
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(LPM) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row D
.                 predict yhat 
{txt}(option {bf:xb} assumed; fitted values)
(227 missing values generated)
{com}.                 sum yhat if agency == "hhs"

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 8}yhat {c |}{res}        233    .4549356    .1355674   .0178121          1
{com}.                 gen oor=yhat<0|yhat>1 &yhat!=.
.                 tab oor if agency == "hhs"

        {txt}oor {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}        315      100.00      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        315      100.00
{com}.                 drop yhat oor
. 
. ** Table D.5, Column 3
.         * Row A
.         drop if p1prior_capacity > 3
{txt}(143 observations deleted)
{com}.         logit $y d2 dT d2_dT $ddcontrol if agency == "hhs", cluster(firm_id)

{txt}note: HUB_dum != 0 predicts success perfectly
      HUB_dum dropped and 1 obs not used

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-133.96496}  
Iteration 1:{space 3}log pseudolikelihood = {res:-127.04254}  
Iteration 2:{space 3}log pseudolikelihood = {res:-127.02747}  
Iteration 3:{space 3}log pseudolikelihood = {res:-127.02747}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}       194
{txt}{col 49}Wald chi2({res}8{txt}){col 67}= {res}     15.71
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0467
{txt}Log pseudolikelihood = {res}-127.02747{txt}{col 49}Pseudo R2{col 67}= {res}    0.0518

{txt}{ralign 88:(Std. Err. adjusted for {res:113} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-1.745758{col 36}{space 2} .5350632{col 47}{space 1}   -3.26{col 56}{space 3}0.001{col 64}{space 4}-2.794462{col 77}{space 3}-.6970532
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.8667847{col 36}{space 2} .5482873{col 47}{space 1}   -1.58{col 56}{space 3}0.114{col 64}{space 4}-1.941408{col 77}{space 3} .2078386
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} 1.594169{col 36}{space 2} .6548983{col 47}{space 1}    2.43{col 56}{space 3}0.015{col 64}{space 4} .3105921{col 77}{space 3} 2.877746
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .6506838{col 36}{space 2} .5524869{col 47}{space 1}    1.18{col 56}{space 3}0.239{col 64}{space 4}-.4321707{col 77}{space 3} 1.733538
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}        0{col 36}{txt}  (omitted)
{space 10}Minority_dum {c |}{col 24}{res}{space 2} .5416963{col 36}{space 2} .5930081{col 47}{space 1}    0.91{col 56}{space 3}0.361{col 64}{space 4}-.6205783{col 77}{space 3} 1.703971
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0098689{col 36}{space 2} .0147583{col 47}{space 1}    0.67{col 56}{space 3}0.504{col 64}{space 4}-.0190567{col 77}{space 3} .0387945
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2} -.017037{col 36}{space 2} .0264095{col 47}{space 1}   -0.65{col 56}{space 3}0.519{col 64}{space 4}-.0687986{col 77}{space 3} .0347247
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0156545{col 36}{space 2} .0131028{col 47}{space 1}   -1.19{col 56}{space 3}0.232{col 64}{space 4}-.0413356{col 77}{space 3} .0100266
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 34.71509{col 36}{space 2} 52.85032{col 47}{space 1}    0.66{col 56}{space 3}0.511{col 64}{space 4}-68.86963{col 77}{space 3} 138.2998
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{com}.         margins, dydx(*) post
{res}
{txt}Average marginal effects{col 49}Number of obs{col 67}= {res}       194
{txt}Model VCE{col 14}: {res}Robust

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Pr(phase2), predict()}{p_end}
{p2colreset}{...}
{txt}{p2colset 1 14 16 2}{...}
{p2col:dy/dx w.r.t.}:{space 1}{res:d2 dT d2_dT WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year}{p_end}
{p2colreset}{...}

{res}{txt}{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36} Delta-method
{col 24}{c |}      dy/dx{col 36}   Std. Err.{col 48}      z{col 56}   P>|z|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.4042841{col 36}{space 2} .1138985{col 47}{space 1}   -3.55{col 56}{space 3}0.000{col 64}{space 4} -.627521{col 77}{space 3}-.1810473
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.2007308{col 36}{space 2} .1238314{col 47}{space 1}   -1.62{col 56}{space 3}0.105{col 64}{space 4}-.4434359{col 77}{space 3} .0419744
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .3691791{col 36}{space 2} .1440326{col 47}{space 1}    2.56{col 56}{space 3}0.010{col 64}{space 4} .0868803{col 77}{space 3} .6514779
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .1506859{col 36}{space 2}    .1265{col 47}{space 1}    1.19{col 56}{space 3}0.234{col 64}{space 4}-.0972496{col 77}{space 3} .3986214
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}        0{col 36}{txt}  (omitted)
{space 10}Minority_dum {c |}{col 24}{res}{space 2} .1254465{col 36}{space 2} .1368123{col 47}{space 1}    0.92{col 56}{space 3}0.359{col 64}{space 4}-.1427007{col 77}{space 3} .3935938
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0022854{col 36}{space 2} .0034074{col 47}{space 1}    0.67{col 56}{space 3}0.502{col 64}{space 4}-.0043929{col 77}{space 3} .0089638
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0039454{col 36}{space 2} .0060638{col 47}{space 1}   -0.65{col 56}{space 3}0.515{col 64}{space 4}-.0158304{col 77}{space 3} .0079395
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0036253{col 36}{space 2} .0029787{col 47}{space 1}   -1.22{col 56}{space 3}0.224{col 64}{space 4}-.0094634{col 77}{space 3} .0022129
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Logit) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row B
.         reg $y d2 dT d2_dT $ddcontrol if agency == "hhs", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       195
                                                {txt}{help j_robustsingular:F(8, 113) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.0742
                                                {txt}Root MSE          =    {res} .49282

{txt}{ralign 88:(Std. Err. adjusted for {res:114} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.4021386{col 36}{space 2} .1148381{col 47}{space 1}   -3.50{col 56}{space 3}0.001{col 64}{space 4}-.6296537{col 77}{space 3}-.1746236
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.2022294{col 36}{space 2} .1267937{col 47}{space 1}   -1.59{col 56}{space 3}0.114{col 64}{space 4}-.4534306{col 77}{space 3} .0489719
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .3653446{col 36}{space 2} .1481698{col 47}{space 1}    2.47{col 56}{space 3}0.015{col 64}{space 4} .0717935{col 77}{space 3} .6588957
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .1504529{col 36}{space 2} .1311501{col 47}{space 1}    1.15{col 56}{space 3}0.254{col 64}{space 4}-.1093792{col 77}{space 3}  .410285
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .6193964{col 36}{space 2} .1056965{col 47}{space 1}    5.86{col 56}{space 3}0.000{col 64}{space 4} .4099925{col 77}{space 3} .8288002
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .1250599{col 36}{space 2} .1423422{col 47}{space 1}    0.88{col 56}{space 3}0.381{col 64}{space 4}-.1569456{col 77}{space 3} .4070654
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0022555{col 36}{space 2}  .003529{col 47}{space 1}    0.64{col 56}{space 3}0.524{col 64}{space 4} -.004736{col 77}{space 3} .0092471
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0039352{col 36}{space 2} .0055637{col 47}{space 1}   -0.71{col 56}{space 3}0.481{col 64}{space 4} -.014958{col 77}{space 3} .0070876
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0034857{col 36}{space 2} .0026909{col 47}{space 1}   -1.30{col 56}{space 3}0.198{col 64}{space 4}-.0088167{col 77}{space 3} .0018454
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 8.519636{col 36}{space 2} 11.13242{col 47}{space 1}    0.77{col 56}{space 3}0.446{col 64}{space 4} -13.5357{col 77}{space 3} 30.57497
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(LPM) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row D
.                 predict yhat 
{txt}(option {bf:xb} assumed; fitted values)
(212 missing values generated)
{com}.                 sum yhat if agency == "hhs"

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 8}yhat {c |}{res}        195    .4666667     .136248   .1787346          1
{com}.                 gen oor=yhat<0|yhat>1 &yhat!=.
.                 tab oor if agency == "hhs"

        {txt}oor {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          0 {c |}{res}        275      100.00      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}        275      100.00
{com}.                 drop yhat oor
. restore 
. {c )-}
{txt}
{com}. ********************************************************************************
.         * Table D.6: NC Sensitivity analysis for differential model
. {c -(}
. preserve 
. set more off
. keep if cohort == 0
{txt}(523 observations deleted)
{com}. gen d2 = 1 if p1year > 2005
{txt}(820 missing values generated)
{com}. recode d2 (.=0)
{txt}(d2: 820 changes made)
{com}. label var d2 "Post-period"
. gen dT = 1 if state=="nc"
{txt}(1,274 missing values generated)
{com}. recode dT (.=0)
{txt}(dT: 1274 changes made)
{com}. label variable dT "Treated state"
. gen d2_dT = d2*dT
. lab var d2_dT "Policy Effect"
. global ddcontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year
. global y phase2
. drop if p1year < 2002
{txt}(0 observations deleted)
{com}. 
.         * Data prep
.         ** Complete Case Analysis
.                 global cca_control WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year 
.         ** code for DVA: recode yr_est = p1year & Emp = 1; include dummy variable for missing
.                 gen emp_dva = Emp_p1year
{txt}(302 missing values generated)
{com}.                 recode emp_dva (.=1)
{txt}(emp_dva: 302 changes made)
{com}.                 gen dva_emp_dum = 1 if Emp_p1year ==.
{txt}(1,597 missing values generated)
{com}.                 recode dva_emp_dum (.=0)
{txt}(dva_emp_dum: 1597 changes made)
{com}.                 gen yr_dva = yr_est_full
{txt}(56 missing values generated)
{com}.                 replace yr_dva = p1year if yr_est_full == .
{txt}(56 real changes made)
{com}.                 gen dva_yr_dum = 1 if yr_est_full ==.
{txt}(1,843 missing values generated)
{com}.                 recode dva_yr_dum (.=0)
{txt}(dva_yr_dum: 1843 changes made)
{com}.                 global dvacontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_dva emp_dva dva_yr_dum dva_emp_dum
.         ** Mean Imputation
.                 gen yr_impute_mean = yr_est_full
{txt}(56 missing values generated)
{com}.                 replace yr_impute_mean = p1year - 6 if yr_est_full == .
{txt}(56 real changes made)
{com}.                 global MIcontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_impute_mean emp1_impute
.         ** Remove incomplete data (remove NETS)
.                 global SBIRcontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual
.         * control_set in cca_control dvacontrol MIcontrol SBIRcontrol
.                 global controls WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_impute_mean emp1_impute
. 
. ** Table D.6, Column 1
.         drop if p1prior_capacity > 5
{txt}(874 observations deleted)
{com}.         * Row A
.         reg $y d2 dT d2_dT $ddcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       798
                                                {txt}F(9, 373)         =  {res}     1.99
                                                {txt}Prob > F          = {res}    0.0394
                                                {txt}R-squared         = {res}    0.0231
                                                {txt}Root MSE          =    {res}  .4969

{txt}{ralign 88:(Std. Err. adjusted for {res:374} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.1698867{col 36}{space 2} .0505794{col 47}{space 1}   -3.36{col 56}{space 3}0.001{col 64}{space 4}-.2693432{col 77}{space 3}-.0704302
{txt}{space 20}dT {c |}{col 24}{res}{space 2} -.153148{col 36}{space 2} .0537691{col 47}{space 1}   -2.85{col 56}{space 3}0.005{col 64}{space 4}-.2588766{col 77}{space 3}-.0474194
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .1541261{col 36}{space 2} .0690787{col 47}{space 1}    2.23{col 56}{space 3}0.026{col 64}{space 4} .0182936{col 77}{space 3} .2899586
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0186874{col 36}{space 2} .0532187{col 47}{space 1}   -0.35{col 56}{space 3}0.726{col 64}{space 4}-.1233338{col 77}{space 3} .0859589
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} -.023735{col 36}{space 2} .0999014{col 47}{space 1}   -0.24{col 56}{space 3}0.812{col 64}{space 4}-.2201756{col 77}{space 3} .1727056
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.0607228{col 36}{space 2} .0782939{col 47}{space 1}   -0.78{col 56}{space 3}0.438{col 64}{space 4}-.2146757{col 77}{space 3}   .09323
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2}  .002064{col 36}{space 2} .0017344{col 47}{space 1}    1.19{col 56}{space 3}0.235{col 64}{space 4}-.0013465{col 77}{space 3} .0054744
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0005092{col 36}{space 2}  .002486{col 47}{space 1}   -0.20{col 56}{space 3}0.838{col 64}{space 4}-.0053975{col 77}{space 3} .0043791
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0001254{col 36}{space 2} .0007327{col 47}{space 1}   -0.17{col 56}{space 3}0.864{col 64}{space 4}-.0015661{col 77}{space 3} .0013154
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 1.585841{col 36}{space 2} 4.962663{col 47}{space 1}    0.32{col 56}{space 3}0.749{col 64}{space 4}-8.172464{col 77}{space 3} 11.34415
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) replace addtext(Sample, Full 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row B (Dummy Variable Analysis)
.         reg $y d2 dT d2_dT $dvacontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}     1,025
                                                {txt}F(11, 477)        =  {res}     1.69
                                                {txt}Prob > F          = {res}    0.0726
                                                {txt}R-squared         = {res}    0.0197
                                                {txt}Root MSE          =    {res} .49757

{txt}{ralign 88:(Std. Err. adjusted for {res:478} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.1247365{col 36}{space 2}  .046077{col 47}{space 1}   -2.71{col 56}{space 3}0.007{col 64}{space 4}-.2152754{col 77}{space 3}-.0341975
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.1089299{col 36}{space 2} .0463395{col 47}{space 1}   -2.35{col 56}{space 3}0.019{col 64}{space 4}-.1999846{col 77}{space 3}-.0178751
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .0597222{col 36}{space 2} .0618543{col 47}{space 1}    0.97{col 56}{space 3}0.335{col 64}{space 4}-.0618185{col 77}{space 3} .1812628
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .0014909{col 36}{space 2} .0519966{col 47}{space 1}    0.03{col 56}{space 3}0.977{col 64}{space 4}-.1006798{col 77}{space 3} .1036616
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}-.0078717{col 36}{space 2} .0950053{col 47}{space 1}   -0.08{col 56}{space 3}0.934{col 64}{space 4}-.1945524{col 77}{space 3} .1788089
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} -.119586{col 36}{space 2} .0737545{col 47}{space 1}   -1.62{col 56}{space 3}0.106{col 64}{space 4}-.2645099{col 77}{space 3} .0253378
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0028096{col 36}{space 2} .0015861{col 47}{space 1}    1.77{col 56}{space 3}0.077{col 64}{space 4}-.0003069{col 77}{space 3} .0059262
{txt}{space 16}yr_dva {c |}{col 24}{res}{space 2} .0005252{col 36}{space 2} .0022752{col 47}{space 1}    0.23{col 56}{space 3}0.818{col 64}{space 4}-.0039455{col 77}{space 3}  .004996
{txt}{space 15}emp_dva {c |}{col 24}{res}{space 2} .0000341{col 36}{space 2} .0007471{col 47}{space 1}    0.05{col 56}{space 3}0.964{col 64}{space 4}-.0014338{col 77}{space 3} .0015021
{txt}{space 12}dva_yr_dum {c |}{col 24}{res}{space 2}-.0234586{col 36}{space 2} .0803818{col 47}{space 1}   -0.29{col 56}{space 3}0.771{col 64}{space 4}-.1814049{col 77}{space 3} .1344876
{txt}{space 11}dva_emp_dum {c |}{col 24}{res}{space 2}-.0223419{col 36}{space 2} .0457869{col 47}{space 1}   -0.49{col 56}{space 3}0.626{col 64}{space 4}-.1123108{col 77}{space 3}  .067627
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-.5170951{col 36}{space 2} 4.543278{col 47}{space 1}   -0.11{col 56}{space 3}0.909{col 64}{space 4}-9.444409{col 77}{space 3} 8.410219
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $dvacontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, Full 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row C (Mean Imputation)
.         reg $y d2 dT d2_dT $MIcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}     1,025
                                                {txt}F(9, 477)         =  {res}     1.88
                                                {txt}Prob > F          = {res}    0.0527
                                                {txt}R-squared         = {res}    0.0192
                                                {txt}Root MSE          =    {res} .49721

{txt}{ralign 88:(Std. Err. adjusted for {res:478} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.1212939{col 36}{space 2} .0458978{col 47}{space 1}   -2.64{col 56}{space 3}0.008{col 64}{space 4}-.2114808{col 77}{space 3}-.0311071
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.1081136{col 36}{space 2} .0464286{col 47}{space 1}   -2.33{col 56}{space 3}0.020{col 64}{space 4}-.1993435{col 77}{space 3}-.0168836
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .0623304{col 36}{space 2} .0614464{col 47}{space 1}    1.01{col 56}{space 3}0.311{col 64}{space 4}-.0584087{col 77}{space 3} .1830695
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .0018563{col 36}{space 2} .0513825{col 47}{space 1}    0.04{col 56}{space 3}0.971{col 64}{space 4}-.0991076{col 77}{space 3} .1028203
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}-.0055947{col 36}{space 2} .0936638{col 47}{space 1}   -0.06{col 56}{space 3}0.952{col 64}{space 4}-.1896394{col 77}{space 3} .1784499
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.1162095{col 36}{space 2} .0740631{col 47}{space 1}   -1.57{col 56}{space 3}0.117{col 64}{space 4}-.2617398{col 77}{space 3} .0293209
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0028025{col 36}{space 2} .0015828{col 47}{space 1}    1.77{col 56}{space 3}0.077{col 64}{space 4}-.0003076{col 77}{space 3} .0059125
{txt}{space 8}yr_impute_mean {c |}{col 24}{res}{space 2} .0000143{col 36}{space 2} .0023001{col 47}{space 1}    0.01{col 56}{space 3}0.995{col 64}{space 4}-.0045053{col 77}{space 3} .0045339
{txt}{space 11}emp1_impute {c |}{col 24}{res}{space 2}-.0001149{col 36}{space 2} .0007448{col 47}{space 1}   -0.15{col 56}{space 3}0.878{col 64}{space 4}-.0015783{col 77}{space 3} .0013486
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .4972721{col 36}{space 2} 4.595123{col 47}{space 1}    0.11{col 56}{space 3}0.914{col 64}{space 4}-8.531913{col 77}{space 3} 9.526457
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $MIcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, Full 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row D (Limited SBIR controls)
.         reg $y d2 dT d2_dT $SBIRcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}     1,025
                                                {txt}F(7, 477)         =  {res}     2.42
                                                {txt}Prob > F          = {res}    0.0192
                                                {txt}R-squared         = {res}    0.0192
                                                {txt}Root MSE          =    {res} .49673

{txt}{ralign 88:(Std. Err. adjusted for {res:478} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.1208489{col 36}{space 2} .0453968{col 47}{space 1}   -2.66{col 56}{space 3}0.008{col 64}{space 4}-.2100514{col 77}{space 3}-.0316463
{txt}{space 20}dT {c |}{col 24}{res}{space 2} -.107893{col 36}{space 2} .0460732{col 47}{space 1}   -2.34{col 56}{space 3}0.020{col 64}{space 4}-.1984246{col 77}{space 3}-.0173615
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2}  .062496{col 36}{space 2} .0614208{col 47}{space 1}    1.02{col 56}{space 3}0.309{col 64}{space 4}-.0581927{col 77}{space 3} .1831847
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .0019092{col 36}{space 2} .0515229{col 47}{space 1}    0.04{col 56}{space 3}0.970{col 64}{space 4}-.0993307{col 77}{space 3} .1031491
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}-.0063634{col 36}{space 2} .0933334{col 47}{space 1}   -0.07{col 56}{space 3}0.946{col 64}{space 4}-.1897589{col 77}{space 3}  .177032
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.1170322{col 36}{space 2}  .073553{col 47}{space 1}   -1.59{col 56}{space 3}0.112{col 64}{space 4}-.2615601{col 77}{space 3} .0274957
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0028041{col 36}{space 2} .0015778{col 47}{space 1}    1.78{col 56}{space 3}0.076{col 64}{space 4}-.0002962{col 77}{space 3} .0059043
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}  .524128{col 36}{space 2} .0414129{col 47}{space 1}   12.66{col 56}{space 3}0.000{col 64}{space 4} .4427537{col 77}{space 3} .6055024
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $SBIRcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, Full 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}. 
. ** Table D.6: Column 2
.         keep if agency == "hhs"
{txt}(710 observations deleted)
{com}.         * Row A
.         reg $y d2 dT d2_dT $ddcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       233
                                                {txt}{help j_robustsingular:F(8, 120) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.0738
                                                {txt}Root MSE          =    {res} .48987

{txt}{ralign 88:(Std. Err. adjusted for {res:121} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.3409679{col 36}{space 2} .0912131{col 47}{space 1}   -3.74{col 56}{space 3}0.000{col 64}{space 4}-.5215636{col 77}{space 3}-.1603723
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.1509944{col 36}{space 2} .1026624{col 47}{space 1}   -1.47{col 56}{space 3}0.144{col 64}{space 4}-.3542587{col 77}{space 3} .0522699
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .3188237{col 36}{space 2} .1219848{col 47}{space 1}    2.61{col 56}{space 3}0.010{col 64}{space 4} .0773023{col 77}{space 3}  .560345
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .1559858{col 36}{space 2} .0904691{col 47}{space 1}    1.72{col 56}{space 3}0.087{col 64}{space 4}-.0231367{col 77}{space 3} .3351082
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .6149514{col 36}{space 2} .0967884{col 47}{space 1}    6.35{col 56}{space 3}0.000{col 64}{space 4}  .423317{col 77}{space 3} .8065858
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} -.029702{col 36}{space 2} .1254887{col 47}{space 1}   -0.24{col 56}{space 3}0.813{col 64}{space 4} -.278161{col 77}{space 3}  .218757
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0018212{col 36}{space 2} .0031862{col 47}{space 1}    0.57{col 56}{space 3}0.569{col 64}{space 4}-.0044873{col 77}{space 3} .0081297
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0049514{col 36}{space 2} .0050158{col 47}{space 1}   -0.99{col 56}{space 3}0.326{col 64}{space 4}-.0148824{col 77}{space 3} .0049795
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0041008{col 36}{space 2} .0022332{col 47}{space 1}   -1.84{col 56}{space 3}0.069{col 64}{space 4}-.0085224{col 77}{space 3} .0003208
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 10.50433{col 36}{space 2} 10.03916{col 47}{space 1}    1.05{col 56}{space 3}0.298{col 64}{space 4}-9.372512{col 77}{space 3} 30.38117
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row B (Dummy Variable Analysis)
.         reg $y d2 dT d2_dT $dvacontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       315
                                                {txt}{help j_robustsingular:F(10, 161) }       =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.0536
                                                {txt}Root MSE          =    {res} .49355

{txt}{ralign 88:(Std. Err. adjusted for {res:162} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2543233{col 36}{space 2} .0791768{col 47}{space 1}   -3.21{col 56}{space 3}0.002{col 64}{space 4}-.4106824{col 77}{space 3}-.0979643
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0868265{col 36}{space 2} .0854011{col 47}{space 1}   -1.02{col 56}{space 3}0.311{col 64}{space 4}-.2554773{col 77}{space 3} .0818242
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2123465{col 36}{space 2} .1011962{col 47}{space 1}    2.10{col 56}{space 3}0.037{col 64}{space 4} .0125035{col 77}{space 3} .4121895
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .1594675{col 36}{space 2}  .083211{col 47}{space 1}    1.92{col 56}{space 3}0.057{col 64}{space 4}-.0048583{col 77}{space 3} .3237934
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .6277486{col 36}{space 2} .0847302{col 47}{space 1}    7.41{col 56}{space 3}0.000{col 64}{space 4} .4604227{col 77}{space 3} .7950745
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.0826341{col 36}{space 2} .1304022{col 47}{space 1}   -0.63{col 56}{space 3}0.527{col 64}{space 4}-.3401535{col 77}{space 3} .1748852
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0019007{col 36}{space 2} .0026781{col 47}{space 1}    0.71{col 56}{space 3}0.479{col 64}{space 4} -.003388{col 77}{space 3} .0071894
{txt}{space 16}yr_dva {c |}{col 24}{res}{space 2} -.006067{col 36}{space 2} .0047344{col 47}{space 1}   -1.28{col 56}{space 3}0.202{col 64}{space 4}-.0154165{col 77}{space 3} .0032826
{txt}{space 15}emp_dva {c |}{col 24}{res}{space 2}-.0045057{col 36}{space 2} .0021423{col 47}{space 1}   -2.10{col 56}{space 3}0.037{col 64}{space 4}-.0087363{col 77}{space 3} -.000275
{txt}{space 12}dva_yr_dum {c |}{col 24}{res}{space 2} .0263288{col 36}{space 2} .1552812{col 47}{space 1}    0.17{col 56}{space 3}0.866{col 64}{space 4}-.2803217{col 77}{space 3} .3329793
{txt}{space 11}dva_emp_dum {c |}{col 24}{res}{space 2}-.0409253{col 36}{space 2}  .071813{col 47}{space 1}   -0.57{col 56}{space 3}0.570{col 64}{space 4}-.1827422{col 77}{space 3} .1008915
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 12.68825{col 36}{space 2} 9.477875{col 47}{space 1}    1.34{col 56}{space 3}0.183{col 64}{space 4} -6.02873{col 77}{space 3} 31.40524
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $dvacontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row C (Mean Imputation)
.         reg $y d2 dT d2_dT $MIcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       315
                                                {txt}{help j_robustsingular:F(8, 161) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.0503
                                                {txt}Root MSE          =    {res} .49278

{txt}{ralign 88:(Std. Err. adjusted for {res:162} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2482683{col 36}{space 2} .0793032{col 47}{space 1}   -3.13{col 56}{space 3}0.002{col 64}{space 4}-.4048769{col 77}{space 3}-.0916596
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0908371{col 36}{space 2} .0834568{col 47}{space 1}   -1.09{col 56}{space 3}0.278{col 64}{space 4}-.2556483{col 77}{space 3}  .073974
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2146126{col 36}{space 2} .1004611{col 47}{space 1}    2.14{col 56}{space 3}0.034{col 64}{space 4} .0162213{col 77}{space 3}  .413004
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}  .164489{col 36}{space 2}  .080145{col 47}{space 1}    2.05{col 56}{space 3}0.042{col 64}{space 4} .0062179{col 77}{space 3}   .32276
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .6300967{col 36}{space 2} .0820606{col 47}{space 1}    7.68{col 56}{space 3}0.000{col 64}{space 4} .4680429{col 77}{space 3} .7921506
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}-.0790642{col 36}{space 2} .1316477{col 47}{space 1}   -0.60{col 56}{space 3}0.549{col 64}{space 4}-.3390431{col 77}{space 3} .1809148
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0018457{col 36}{space 2} .0026864{col 47}{space 1}    0.69{col 56}{space 3}0.493{col 64}{space 4}-.0034595{col 77}{space 3} .0071509
{txt}{space 8}yr_impute_mean {c |}{col 24}{res}{space 2}-.0058061{col 36}{space 2} .0049184{col 47}{space 1}   -1.18{col 56}{space 3}0.240{col 64}{space 4} -.015519{col 77}{space 3} .0039068
{txt}{space 11}emp1_impute {c |}{col 24}{res}{space 2}  -.00397{col 36}{space 2} .0021267{col 47}{space 1}   -1.87{col 56}{space 3}0.064{col 64}{space 4}-.0081698{col 77}{space 3} .0002298
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 12.15604{col 36}{space 2} 9.844588{col 47}{space 1}    1.23{col 56}{space 3}0.219{col 64}{space 4}-7.285131{col 77}{space 3} 31.59721
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $MIcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row D (Limited SBIR controls)
.         reg $y d2 dT d2_dT $SBIRcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       315
                                                {txt}{help j_robustsingular:F(6, 161) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.0398
                                                {txt}Root MSE          =    {res} .49389

{txt}{ralign 88:(Std. Err. adjusted for {res:162} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2} -.268455{col 36}{space 2} .0778147{col 47}{space 1}   -3.45{col 56}{space 3}0.001{col 64}{space 4}-.4221241{col 77}{space 3}-.1147859
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.1115517{col 36}{space 2} .0851653{col 47}{space 1}   -1.31{col 56}{space 3}0.192{col 64}{space 4}-.2797368{col 77}{space 3} .0566333
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2316336{col 36}{space 2} .1002948{col 47}{space 1}    2.31{col 56}{space 3}0.022{col 64}{space 4} .0335707{col 77}{space 3} .4296965
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}  .184384{col 36}{space 2} .0788711{col 47}{space 1}    2.34{col 56}{space 3}0.021{col 64}{space 4} .0286287{col 77}{space 3} .3401393
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .6099685{col 36}{space 2} .0810373{col 47}{space 1}    7.53{col 56}{space 3}0.000{col 64}{space 4} .4499354{col 77}{space 3} .7700016
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} -.065917{col 36}{space 2} .1317305{col 47}{space 1}   -0.50{col 56}{space 3}0.617{col 64}{space 4}-.3260595{col 77}{space 3} .1942254
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2}  .001667{col 36}{space 2} .0027792{col 47}{space 1}    0.60{col 56}{space 3}0.549{col 64}{space 4}-.0038214{col 77}{space 3} .0071554
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .5267356{col 36}{space 2} .0803933{col 47}{space 1}    6.55{col 56}{space 3}0.000{col 64}{space 4} .3679742{col 77}{space 3}  .685497
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $SBIRcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         
. ** Table D.6: Column 3
.         drop if p1prior_capacity > 3
{txt}(40 observations deleted)
{com}.         * Row A
.         reg $y d2 dT d2_dT $ddcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       195
                                                {txt}{help j_robustsingular:F(8, 113) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.0742
                                                {txt}Root MSE          =    {res} .49282

{txt}{ralign 88:(Std. Err. adjusted for {res:114} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.4021386{col 36}{space 2} .1148381{col 47}{space 1}   -3.50{col 56}{space 3}0.001{col 64}{space 4}-.6296537{col 77}{space 3}-.1746236
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.2022294{col 36}{space 2} .1267937{col 47}{space 1}   -1.59{col 56}{space 3}0.114{col 64}{space 4}-.4534306{col 77}{space 3} .0489719
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .3653446{col 36}{space 2} .1481698{col 47}{space 1}    2.47{col 56}{space 3}0.015{col 64}{space 4} .0717935{col 77}{space 3} .6588957
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .1504529{col 36}{space 2} .1311501{col 47}{space 1}    1.15{col 56}{space 3}0.254{col 64}{space 4}-.1093792{col 77}{space 3}  .410285
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .6193964{col 36}{space 2} .1056965{col 47}{space 1}    5.86{col 56}{space 3}0.000{col 64}{space 4} .4099925{col 77}{space 3} .8288002
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .1250599{col 36}{space 2} .1423422{col 47}{space 1}    0.88{col 56}{space 3}0.381{col 64}{space 4}-.1569456{col 77}{space 3} .4070654
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0022555{col 36}{space 2}  .003529{col 47}{space 1}    0.64{col 56}{space 3}0.524{col 64}{space 4} -.004736{col 77}{space 3} .0092471
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0039352{col 36}{space 2} .0055637{col 47}{space 1}   -0.71{col 56}{space 3}0.481{col 64}{space 4} -.014958{col 77}{space 3} .0070876
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0034857{col 36}{space 2} .0026909{col 47}{space 1}   -1.30{col 56}{space 3}0.198{col 64}{space 4}-.0088167{col 77}{space 3} .0018454
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 8.519636{col 36}{space 2} 11.13242{col 47}{space 1}    0.77{col 56}{space 3}0.446{col 64}{space 4} -13.5357{col 77}{space 3} 30.57497
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 3 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row B (Dummy Variable Analysis)
.         reg $y d2 dT d2_dT $dvacontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       275
                                                {txt}{help j_robustsingular:F(10, 156) }       =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.0478
                                                {txt}Root MSE          =    {res} .49715

{txt}{ralign 88:(Std. Err. adjusted for {res:157} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2700976{col 36}{space 2}  .097717{col 47}{space 1}   -2.76{col 56}{space 3}0.006{col 64}{space 4}-.4631168{col 77}{space 3}-.0770783
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0991828{col 36}{space 2} .1008924{col 47}{space 1}   -0.98{col 56}{space 3}0.327{col 64}{space 4}-.2984742{col 77}{space 3} .1001086
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2101549{col 36}{space 2} .1195285{col 47}{space 1}    1.76{col 56}{space 3}0.081{col 64}{space 4}-.0259482{col 77}{space 3} .4462581
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .1534755{col 36}{space 2} .1112843{col 47}{space 1}    1.38{col 56}{space 3}0.170{col 64}{space 4} -.066343{col 77}{space 3}  .373294
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .6304037{col 36}{space 2} .0899882{col 47}{space 1}    7.01{col 56}{space 3}0.000{col 64}{space 4} .4526512{col 77}{space 3} .8081562
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}  .037166{col 36}{space 2} .1652255{col 47}{space 1}    0.22{col 56}{space 3}0.822{col 64}{space 4}-.2892018{col 77}{space 3} .3635338
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0022173{col 36}{space 2} .0028777{col 47}{space 1}    0.77{col 56}{space 3}0.442{col 64}{space 4}-.0034669{col 77}{space 3} .0079016
{txt}{space 16}yr_dva {c |}{col 24}{res}{space 2}-.0054378{col 36}{space 2} .0051818{col 47}{space 1}   -1.05{col 56}{space 3}0.296{col 64}{space 4}-.0156734{col 77}{space 3} .0047977
{txt}{space 15}emp_dva {c |}{col 24}{res}{space 2}-.0040641{col 36}{space 2} .0025563{col 47}{space 1}   -1.59{col 56}{space 3}0.114{col 64}{space 4}-.0091136{col 77}{space 3} .0009853
{txt}{space 12}dva_yr_dum {c |}{col 24}{res}{space 2}  .030222{col 36}{space 2} .1560977{col 47}{space 1}    0.19{col 56}{space 3}0.847{col 64}{space 4}-.2781158{col 77}{space 3} .3385598
{txt}{space 11}dva_emp_dum {c |}{col 24}{res}{space 2}-.0606883{col 36}{space 2} .0757837{col 47}{space 1}   -0.80{col 56}{space 3}0.424{col 64}{space 4}-.2103829{col 77}{space 3} .0890063
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 11.44861{col 36}{space 2} 10.37034{col 47}{space 1}    1.10{col 56}{space 3}0.271{col 64}{space 4}-9.035798{col 77}{space 3} 31.93302
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $dvacontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 3 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row C (Mean Imputation)
.         reg $y d2 dT d2_dT $MIcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       275
                                                {txt}{help j_robustsingular:F(8, 156) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.0436
                                                {txt}Root MSE          =    {res} .49637

{txt}{ralign 88:(Std. Err. adjusted for {res:157} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2605098{col 36}{space 2} .0978036{col 47}{space 1}   -2.66{col 56}{space 3}0.009{col 64}{space 4}-.4537001{col 77}{space 3}-.0673196
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.1060149{col 36}{space 2} .1009491{col 47}{space 1}   -1.05{col 56}{space 3}0.295{col 64}{space 4}-.3054183{col 77}{space 3} .0933886
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2183453{col 36}{space 2} .1193565{col 47}{space 1}    1.83{col 56}{space 3}0.069{col 64}{space 4}-.0174181{col 77}{space 3} .4541088
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .1623517{col 36}{space 2} .1084829{col 47}{space 1}    1.50{col 56}{space 3}0.137{col 64}{space 4}-.0519333{col 77}{space 3} .3766367
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .6367919{col 36}{space 2} .0878446{col 47}{space 1}    7.25{col 56}{space 3}0.000{col 64}{space 4} .4632735{col 77}{space 3} .8103102
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .0461245{col 36}{space 2} .1678888{col 47}{space 1}    0.27{col 56}{space 3}0.784{col 64}{space 4}-.2855042{col 77}{space 3} .3777533
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0022007{col 36}{space 2} .0028909{col 47}{space 1}    0.76{col 56}{space 3}0.448{col 64}{space 4}-.0035096{col 77}{space 3} .0079109
{txt}{space 8}yr_impute_mean {c |}{col 24}{res}{space 2}-.0052796{col 36}{space 2} .0053676{col 47}{space 1}   -0.98{col 56}{space 3}0.327{col 64}{space 4}-.0158822{col 77}{space 3}  .005323
{txt}{space 11}emp1_impute {c |}{col 24}{res}{space 2}-.0033443{col 36}{space 2} .0025239{col 47}{space 1}   -1.33{col 56}{space 3}0.187{col 64}{space 4}-.0083298{col 77}{space 3} .0016412
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 11.11073{col 36}{space 2} 10.73985{col 47}{space 1}    1.03{col 56}{space 3}0.302{col 64}{space 4}-10.10356{col 77}{space 3} 32.32502
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $MIcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 3 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row D (Limited SBIR controls)
.         reg $y d2 dT d2_dT $SBIRcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       275
                                                {txt}{help j_robustsingular:F(6, 156) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.0367
                                                {txt}Root MSE          =    {res}  .4963

{txt}{ralign 88:(Std. Err. adjusted for {res:157} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2815733{col 36}{space 2}  .096866{col 47}{space 1}   -2.91{col 56}{space 3}0.004{col 64}{space 4}-.4729115{col 77}{space 3}-.0902351
{txt}{space 20}dT {c |}{col 24}{res}{space 2} -.127835{col 36}{space 2} .1014819{col 47}{space 1}   -1.26{col 56}{space 3}0.210{col 64}{space 4}-.3282908{col 77}{space 3} .0726209
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2}  .236344{col 36}{space 2} .1202196{col 47}{space 1}    1.97{col 56}{space 3}0.051{col 64}{space 4}-.0011243{col 77}{space 3} .4738124
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .1764023{col 36}{space 2} .1070338{col 47}{space 1}    1.65{col 56}{space 3}0.101{col 64}{space 4}-.0350201{col 77}{space 3} .3878248
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .6191735{col 36}{space 2} .0863269{col 47}{space 1}    7.17{col 56}{space 3}0.000{col 64}{space 4}  .448653{col 77}{space 3}  .789694
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .0448724{col 36}{space 2} .1698393{col 47}{space 1}    0.26{col 56}{space 3}0.792{col 64}{space 4} -.290609{col 77}{space 3} .3803538
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0022049{col 36}{space 2} .0029303{col 47}{space 1}    0.75{col 56}{space 3}0.453{col 64}{space 4}-.0035832{col 77}{space 3} .0079931
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .5384562{col 36}{space 2} .0967498{col 47}{space 1}    5.57{col 56}{space 3}0.000{col 64}{space 4} .3473475{col 77}{space 3} .7295649
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $SBIRcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 3 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}. restore
. {c )-}
{txt}
{com}. ********************************************************************************
.         * Table D.7: KY Sensitivity analysis for differential model
. {c -(}
. preserve 
. set more off
. keep if cohort == 1
{txt}(1,899 observations deleted)
{com}. gen d2 = 1 if p1year > 2006
{txt}(259 missing values generated)
{com}. recode d2 (.=0)
{txt}(d2: 259 changes made)
{com}. label var d2 "Post-period"
. gen dT = 1 if state=="ky"
{txt}(388 missing values generated)
{com}. recode dT (.=0)
{txt}(dT: 388 changes made)
{com}. label variable dT "Treated state"
. gen d2_dT = d2*dT
. lab var d2_dT "Policy Effect"
. global ddcontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year
. global y phase2
. drop if p1year < 2002
{txt}(0 observations deleted)
{com}. 
.         * Data prep
.         ** Complete Case Analysis
.                 global cca_control WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year 
.         ** code for DVA: recode yr_est = p1year & Emp = 1; include dummy variable for missing
.                 gen emp_dva = Emp_p1year
{txt}(84 missing values generated)
{com}.                 recode emp_dva (.=1)
{txt}(emp_dva: 84 changes made)
{com}.                 gen dva_emp_dum = 1 if Emp_p1year ==.
{txt}(439 missing values generated)
{com}.                 recode dva_emp_dum (.=0)
{txt}(dva_emp_dum: 439 changes made)
{com}.                 gen yr_dva = yr_est_full
{txt}(20 missing values generated)
{com}.                 replace yr_dva = p1year if yr_est_full == .
{txt}(20 real changes made)
{com}.                 gen dva_yr_dum = 1 if yr_est_full ==.
{txt}(503 missing values generated)
{com}.                 recode dva_yr_dum (.=0)
{txt}(dva_yr_dum: 503 changes made)
{com}.                 global dvacontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_dva emp_dva dva_yr_dum dva_emp_dum
.         ** Mean Imputation
.                 gen yr_impute_mean = yr_est_full
{txt}(20 missing values generated)
{com}.                 replace yr_impute_mean = p1year - 6 if yr_est_full == .
{txt}(20 real changes made)
{com}.                 global MIcontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_impute_mean emp1_impute
.         ** Remove incomplete data (remove NETS)
.                 global SBIRcontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual
.         * control_set in cca_control dvacontrol MIcontrol SBIRcontrol
.                 global controls WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_impute_mean emp1_impute
. 
. ** Table D.7, Column 1
.         drop if agency != "nsf" 
{txt}(436 observations deleted)
{com}.         * Row A
.         reg $y d2 dT d2_dT $ddcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}        72
                                                {txt}F(9, 41)          =  {res}    25.84
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.2229
                                                {txt}Root MSE          =    {res} .45628

{txt}{ralign 88:(Std. Err. adjusted for {res:42} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2823772{col 36}{space 2} .1255384{col 47}{space 1}   -2.25{col 56}{space 3}0.030{col 64}{space 4}-.5359072{col 77}{space 3}-.0288472
{txt}{space 20}dT {c |}{col 24}{res}{space 2} .2449947{col 36}{space 2} .3026807{col 47}{space 1}    0.81{col 56}{space 3}0.423{col 64}{space 4}-.3662814{col 77}{space 3} .8562708
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .1412973{col 36}{space 2} .3908805{col 47}{space 1}    0.36{col 56}{space 3}0.720{col 64}{space 4} -.648102{col 77}{space 3} .9306965
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .1162894{col 36}{space 2} .2103619{col 47}{space 1}    0.55{col 56}{space 3}0.583{col 64}{space 4}-.3085451{col 77}{space 3}  .541124
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}  .391394{col 36}{space 2} .2720879{col 47}{space 1}    1.44{col 56}{space 3}0.158{col 64}{space 4}-.1580987{col 77}{space 3} .9408867
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .4798807{col 36}{space 2} .1626266{col 47}{space 1}    2.95{col 56}{space 3}0.005{col 64}{space 4} .1514497{col 77}{space 3} .8083118
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0069416{col 36}{space 2} .0086997{col 47}{space 1}    0.80{col 56}{space 3}0.430{col 64}{space 4}-.0106278{col 77}{space 3}  .024511
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}  .015146{col 36}{space 2} .0086183{col 47}{space 1}    1.76{col 56}{space 3}0.086{col 64}{space 4}-.0022589{col 77}{space 3} .0325509
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0001223{col 36}{space 2} .0018061{col 47}{space 1}   -0.07{col 56}{space 3}0.946{col 64}{space 4}-.0037698{col 77}{space 3} .0035251
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-29.96141{col 36}{space 2} 17.20116{col 47}{space 1}   -1.74{col 56}{space 3}0.089{col 64}{space 4}-64.69986{col 77}{space 3} 4.777027
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) replace addtext(Sample, Full NSF) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row B (Dummy Variable Analysis)
.         reg $y d2 dT d2_dT $dvacontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}        87
                                                {txt}F(11, 54)         =  {res}   157.52
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.2211
                                                {txt}Root MSE          =    {res} .44408

{txt}{ralign 88:(Std. Err. adjusted for {res:55} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2722634{col 36}{space 2} .1189445{col 47}{space 1}   -2.29{col 56}{space 3}0.026{col 64}{space 4}-.5107328{col 77}{space 3}-.0337941
{txt}{space 20}dT {c |}{col 24}{res}{space 2} .1488218{col 36}{space 2} .1428487{col 47}{space 1}    1.04{col 56}{space 3}0.302{col 64}{space 4}-.1375726{col 77}{space 3} .4352162
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2536886{col 36}{space 2} .2303697{col 47}{space 1}    1.10{col 56}{space 3}0.276{col 64}{space 4}-.2081749{col 77}{space 3} .7155521
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .0414845{col 36}{space 2} .1435337{col 47}{space 1}    0.29{col 56}{space 3}0.774{col 64}{space 4}-.2462832{col 77}{space 3} .3292522
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .3878943{col 36}{space 2} .2535247{col 47}{space 1}    1.53{col 56}{space 3}0.132{col 64}{space 4}-.1203922{col 77}{space 3} .8961807
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .4302858{col 36}{space 2} .1376221{col 47}{space 1}    3.13{col 56}{space 3}0.003{col 64}{space 4} .1543701{col 77}{space 3} .7062015
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0066076{col 36}{space 2} .0081488{col 47}{space 1}    0.81{col 56}{space 3}0.421{col 64}{space 4}-.0097298{col 77}{space 3}  .022945
{txt}{space 16}yr_dva {c |}{col 24}{res}{space 2} .0039293{col 36}{space 2}  .002589{col 47}{space 1}    1.52{col 56}{space 3}0.135{col 64}{space 4}-.0012614{col 77}{space 3} .0091199
{txt}{space 15}emp_dva {c |}{col 24}{res}{space 2}-.0016428{col 36}{space 2} .0014485{col 47}{space 1}   -1.13{col 56}{space 3}0.262{col 64}{space 4}-.0045469{col 77}{space 3} .0012612
{txt}{space 12}dva_yr_dum {c |}{col 24}{res}{space 2}-.2461763{col 36}{space 2} .1127164{col 47}{space 1}   -2.18{col 56}{space 3}0.033{col 64}{space 4}-.4721591{col 77}{space 3}-.0201936
{txt}{space 11}dva_emp_dum {c |}{col 24}{res}{space 2}-.2846238{col 36}{space 2} .1707342{col 47}{space 1}   -1.67{col 56}{space 3}0.101{col 64}{space 4}-.6269252{col 77}{space 3} .0576776
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-7.499702{col 36}{space 2} 5.178112{col 47}{space 1}   -1.45{col 56}{space 3}0.153{col 64}{space 4}-17.88119{col 77}{space 3} 2.881788
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $dvacontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, Full NSF) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row C (Mean Imputation)
.         reg $y d2 dT d2_dT $MIcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}        87
                                                {txt}F(9, 54)          =  {res}    55.05
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.1760
                                                {txt}Root MSE          =    {res} .45079

{txt}{ralign 88:(Std. Err. adjusted for {res:55} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2082318{col 36}{space 2} .1171692{col 47}{space 1}   -1.78{col 56}{space 3}0.081{col 64}{space 4}-.4431418{col 77}{space 3} .0266782
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0374239{col 36}{space 2} .1321955{col 47}{space 1}   -0.28{col 56}{space 3}0.778{col 64}{space 4}-.3024598{col 77}{space 3}  .227612
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .4075599{col 36}{space 2} .2376348{col 47}{space 1}    1.72{col 56}{space 3}0.092{col 64}{space 4}-.0688692{col 77}{space 3} .8839891
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0954586{col 36}{space 2} .1471018{col 47}{space 1}   -0.65{col 56}{space 3}0.519{col 64}{space 4}-.3903799{col 77}{space 3} .1994627
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .4014057{col 36}{space 2} .2453376{col 47}{space 1}    1.64{col 56}{space 3}0.108{col 64}{space 4}-.0904666{col 77}{space 3} .8932781
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .4566353{col 36}{space 2} .1464703{col 47}{space 1}    3.12{col 56}{space 3}0.003{col 64}{space 4}   .16298{col 77}{space 3} .7502906
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0091426{col 36}{space 2} .0079439{col 47}{space 1}    1.15{col 56}{space 3}0.255{col 64}{space 4} -.006784{col 77}{space 3} .0250691
{txt}{space 8}yr_impute_mean {c |}{col 24}{res}{space 2} .0061058{col 36}{space 2} .0022119{col 47}{space 1}    2.76{col 56}{space 3}0.008{col 64}{space 4} .0016712{col 77}{space 3} .0105404
{txt}{space 11}emp1_impute {c |}{col 24}{res}{space 2}-.0004612{col 36}{space 2} .0012169{col 47}{space 1}   -0.38{col 56}{space 3}0.706{col 64}{space 4} -.002901{col 77}{space 3} .0019786
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-11.94868{col 36}{space 2} 4.398493{col 47}{space 1}   -2.72{col 56}{space 3}0.009{col 64}{space 4}-20.76713{col 77}{space 3}-3.130233
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $MIcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, Full NSF) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row D (Limited SBIR controls)
.         reg $y d2 dT d2_dT $SBIRcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}        87
                                                {txt}F(7, 54)          =  {res}    44.52
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.1477
                                                {txt}Root MSE          =    {res} .45261

{txt}{ralign 88:(Std. Err. adjusted for {res:55} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.1884382{col 36}{space 2} .1180683{col 47}{space 1}   -1.60{col 56}{space 3}0.116{col 64}{space 4}-.4251509{col 77}{space 3} .0482744
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0257801{col 36}{space 2} .1362319{col 47}{space 1}   -0.19{col 56}{space 3}0.851{col 64}{space 4}-.2989086{col 77}{space 3} .2473484
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .3527048{col 36}{space 2} .2381992{col 47}{space 1}    1.48{col 56}{space 3}0.144{col 64}{space 4}-.1248558{col 77}{space 3} .8302653
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0808579{col 36}{space 2} .1465668{col 47}{space 1}   -0.55{col 56}{space 3}0.583{col 64}{space 4}-.3747066{col 77}{space 3} .2129908
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .4395412{col 36}{space 2} .2266812{col 47}{space 1}    1.94{col 56}{space 3}0.058{col 64}{space 4}-.0149272{col 77}{space 3} .8940095
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .4875243{col 36}{space 2} .1480789{col 47}{space 1}    3.29{col 56}{space 3}0.002{col 64}{space 4}  .190644{col 77}{space 3} .7844047
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0115543{col 36}{space 2} .0076625{col 47}{space 1}    1.51{col 56}{space 3}0.137{col 64}{space 4} -.003808{col 77}{space 3} .0269167
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .2180055{col 36}{space 2} .1146028{col 47}{space 1}    1.90{col 56}{space 3}0.062{col 64}{space 4}-.0117593{col 77}{space 3} .4477703
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $SBIRcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, Full NSF) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}. 
. ** Table D.7: Column 2
.         drop if p1prior_capacity > 5
{txt}(12 observations deleted)
{com}.         * Row A
.         reg $y d2 dT d2_dT $ddcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}        60
                                                {txt}F(9, 40)          =  {res}    14.26
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.2150
                                                {txt}Root MSE          =    {res} .47849

{txt}{ralign 88:(Std. Err. adjusted for {res:41} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2947755{col 36}{space 2} .1234166{col 47}{space 1}   -2.39{col 56}{space 3}0.022{col 64}{space 4}-.5442096{col 77}{space 3}-.0453413
{txt}{space 20}dT {c |}{col 24}{res}{space 2}  .241419{col 36}{space 2} .3136536{col 47}{space 1}    0.77{col 56}{space 3}0.446{col 64}{space 4}-.3924986{col 77}{space 3} .8753367
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .1299784{col 36}{space 2} .4015656{col 47}{space 1}    0.32{col 56}{space 3}0.748{col 64}{space 4}-.6816159{col 77}{space 3} .9415727
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .0677988{col 36}{space 2} .2298707{col 47}{space 1}    0.29{col 56}{space 3}0.770{col 64}{space 4}-.3967871{col 77}{space 3} .5323848
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .3939283{col 36}{space 2} .2641558{col 47}{space 1}    1.49{col 56}{space 3}0.144{col 64}{space 4}-.1399506{col 77}{space 3} .9278071
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .4767243{col 36}{space 2} .1756007{col 47}{space 1}    2.71{col 56}{space 3}0.010{col 64}{space 4}  .121822{col 77}{space 3} .8316266
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0115904{col 36}{space 2} .0100163{col 47}{space 1}    1.16{col 56}{space 3}0.254{col 64}{space 4}-.0086533{col 77}{space 3} .0318342
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2} .0186445{col 36}{space 2} .0100728{col 47}{space 1}    1.85{col 56}{space 3}0.072{col 64}{space 4}-.0017134{col 77}{space 3} .0390023
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}  .000438{col 36}{space 2} .0019616{col 47}{space 1}    0.22{col 56}{space 3}0.824{col 64}{space 4}-.0035266{col 77}{space 3} .0044025
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-36.99122{col 36}{space 2} 20.11739{col 47}{space 1}   -1.84{col 56}{space 3}0.073{col 64}{space 4}-77.64997{col 77}{space 3} 3.667539
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row B (Dummy Variable Analysis)
.         reg $y d2 dT d2_dT $dvacontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}        75
                                                {txt}F(11, 53)         =  {res}   229.71
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.2272
                                                {txt}Root MSE          =    {res}  .4604

{txt}{ralign 88:(Std. Err. adjusted for {res:54} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.2623656{col 36}{space 2} .1111676{col 47}{space 1}   -2.36{col 56}{space 3}0.022{col 64}{space 4}-.4853395{col 77}{space 3}-.0393918
{txt}{space 20}dT {c |}{col 24}{res}{space 2} .1533203{col 36}{space 2} .1427239{col 47}{space 1}    1.07{col 56}{space 3}0.288{col 64}{space 4}-.1329475{col 77}{space 3} .4395881
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2242199{col 36}{space 2} .2357864{col 47}{space 1}    0.95{col 56}{space 3}0.346{col 64}{space 4}-.2487077{col 77}{space 3} .6971474
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .0149979{col 36}{space 2} .1444088{col 47}{space 1}    0.10{col 56}{space 3}0.918{col 64}{space 4}-.2746494{col 77}{space 3} .3046452
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .3776359{col 36}{space 2} .2430362{col 47}{space 1}    1.55{col 56}{space 3}0.126{col 64}{space 4}-.1098329{col 77}{space 3} .8651047
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .4133476{col 36}{space 2} .1447788{col 47}{space 1}    2.86{col 56}{space 3}0.006{col 64}{space 4} .1229582{col 77}{space 3}  .703737
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0104934{col 36}{space 2} .0091042{col 47}{space 1}    1.15{col 56}{space 3}0.254{col 64}{space 4}-.0077673{col 77}{space 3}  .028754
{txt}{space 16}yr_dva {c |}{col 24}{res}{space 2} .0037714{col 36}{space 2} .0026732{col 47}{space 1}    1.41{col 56}{space 3}0.164{col 64}{space 4}-.0015904{col 77}{space 3} .0091332
{txt}{space 15}emp_dva {c |}{col 24}{res}{space 2}-.0015624{col 36}{space 2} .0015129{col 47}{space 1}   -1.03{col 56}{space 3}0.306{col 64}{space 4} -.004597{col 77}{space 3} .0014722
{txt}{space 12}dva_yr_dum {c |}{col 24}{res}{space 2}-.2440058{col 36}{space 2} .1098241{col 47}{space 1}   -2.22{col 56}{space 3}0.031{col 64}{space 4}-.4642851{col 77}{space 3}-.0237264
{txt}{space 11}dva_emp_dum {c |}{col 24}{res}{space 2}-.2913161{col 36}{space 2} .1709801{col 47}{space 1}   -1.70{col 56}{space 3}0.094{col 64}{space 4}-.6342587{col 77}{space 3} .0516265
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-7.204806{col 36}{space 2} 5.347151{col 47}{space 1}   -1.35{col 56}{space 3}0.184{col 64}{space 4}-17.92983{col 77}{space 3}  3.52022
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $dvacontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row C (Mean Imputation)
.         reg $y d2 dT d2_dT $MIcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}        75
                                                {txt}{help j_robustsingular:F(8, 53) }         =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1764
                                                {txt}Root MSE          =    {res} .46793

{txt}{ralign 88:(Std. Err. adjusted for {res:54} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.1864181{col 36}{space 2} .1142718{col 47}{space 1}   -1.63{col 56}{space 3}0.109{col 64}{space 4}-.4156183{col 77}{space 3} .0427821
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0321353{col 36}{space 2} .1304448{col 47}{space 1}   -0.25{col 56}{space 3}0.806{col 64}{space 4}-.2937745{col 77}{space 3} .2295039
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2}  .368633{col 36}{space 2} .2428318{col 47}{space 1}    1.52{col 56}{space 3}0.135{col 64}{space 4}-.1184259{col 77}{space 3} .8556919
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} -.125966{col 36}{space 2} .1424041{col 47}{space 1}   -0.88{col 56}{space 3}0.380{col 64}{space 4}-.4115925{col 77}{space 3} .1596605
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .3871568{col 36}{space 2} .2346686{col 47}{space 1}    1.65{col 56}{space 3}0.105{col 64}{space 4}-.0835288{col 77}{space 3} .8578423
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .4390511{col 36}{space 2} .1542319{col 47}{space 1}    2.85{col 56}{space 3}0.006{col 64}{space 4}  .129701{col 77}{space 3} .7484012
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0134692{col 36}{space 2} .0088744{col 47}{space 1}    1.52{col 56}{space 3}0.135{col 64}{space 4}-.0043306{col 77}{space 3} .0312689
{txt}{space 8}yr_impute_mean {c |}{col 24}{res}{space 2} .0060069{col 36}{space 2} .0022918{col 47}{space 1}    2.62{col 56}{space 3}0.011{col 64}{space 4} .0014101{col 77}{space 3} .0106038
{txt}{space 11}emp1_impute {c |}{col 24}{res}{space 2} -.000329{col 36}{space 2} .0012757{col 47}{space 1}   -0.26{col 56}{space 3}0.797{col 64}{space 4}-.0028878{col 77}{space 3} .0022297
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-11.78049{col 36}{space 2} 4.558308{col 47}{space 1}   -2.58{col 56}{space 3}0.013{col 64}{space 4} -20.9233{col 77}{space 3}-2.637679
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $MIcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row D (Limited SBIR controls)
.         reg $y d2 dT d2_dT $SBIRcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}        75
                                                {txt}F(7, 53)          =  {res}    27.01
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.1483
                                                {txt}Root MSE          =    {res} .46867

{txt}{ralign 88:(Std. Err. adjusted for {res:54} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.1581071{col 36}{space 2} .1139696{col 47}{space 1}   -1.39{col 56}{space 3}0.171{col 64}{space 4}-.3867012{col 77}{space 3} .0704869
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0201788{col 36}{space 2}  .133529{col 47}{space 1}   -0.15{col 56}{space 3}0.880{col 64}{space 4} -.288004{col 77}{space 3} .2476464
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .3054077{col 36}{space 2}   .24182{col 47}{space 1}    1.26{col 56}{space 3}0.212{col 64}{space 4}-.1796217{col 77}{space 3} .7904372
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1162478{col 36}{space 2} .1408234{col 47}{space 1}   -0.83{col 56}{space 3}0.413{col 64}{space 4}-.3987038{col 77}{space 3} .1662083
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .4164015{col 36}{space 2} .2198425{col 47}{space 1}    1.89{col 56}{space 3}0.064{col 64}{space 4}-.0245467{col 77}{space 3} .8573498
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .4665108{col 36}{space 2} .1553664{col 47}{space 1}    3.00{col 56}{space 3}0.004{col 64}{space 4} .1548853{col 77}{space 3} .7781363
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0159551{col 36}{space 2}  .008424{col 47}{space 1}    1.89{col 56}{space 3}0.064{col 64}{space 4}-.0009413{col 77}{space 3} .0328515
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .1909735{col 36}{space 2} .1184116{col 47}{space 1}    1.61{col 56}{space 3}0.113{col 64}{space 4}-.0465302{col 77}{space 3} .4284772
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $SBIRcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         
. ** Table D.7: Column 3
.         drop if p1prior_capacity > 3
{txt}(8 observations deleted)
{com}.         * Row A
.         reg $y d2 dT d2_dT $ddcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}        52
                                                {txt}{help j_robustsingular:F(8, 36) }         =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.2003
                                                {txt}Root MSE          =    {res} .49161

{txt}{ralign 88:(Std. Err. adjusted for {res:37} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.3831458{col 36}{space 2} .1503498{col 47}{space 1}   -2.55{col 56}{space 3}0.015{col 64}{space 4}-.6880695{col 77}{space 3}-.0782222
{txt}{space 20}dT {c |}{col 24}{res}{space 2} .1618438{col 36}{space 2} .3845906{col 47}{space 1}    0.42{col 56}{space 3}0.676{col 64}{space 4} -.618142{col 77}{space 3} .9418297
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2316964{col 36}{space 2} .4595043{col 47}{space 1}    0.50{col 56}{space 3}0.617{col 64}{space 4}-.7002216{col 77}{space 3} 1.163614
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .0561553{col 36}{space 2}   .25446{col 47}{space 1}    0.22{col 56}{space 3}0.827{col 64}{space 4}-.4599136{col 77}{space 3} .5722241
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .1589686{col 36}{space 2} .2395274{col 47}{space 1}    0.66{col 56}{space 3}0.511{col 64}{space 4}-.3268155{col 77}{space 3} .6447527
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .6395729{col 36}{space 2} .2072918{col 47}{space 1}    3.09{col 56}{space 3}0.004{col 64}{space 4} .2191657{col 77}{space 3}  1.05998
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0115281{col 36}{space 2} .0112643{col 47}{space 1}    1.02{col 56}{space 3}0.313{col 64}{space 4} -.011317{col 77}{space 3} .0343731
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2} .0322958{col 36}{space 2} .0157398{col 47}{space 1}    2.05{col 56}{space 3}0.048{col 64}{space 4} .0003739{col 77}{space 3} .0642176
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2} .0031375{col 36}{space 2} .0044676{col 47}{space 1}    0.70{col 56}{space 3}0.487{col 64}{space 4}-.0059231{col 77}{space 3} .0121982
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-64.28837{col 36}{space 2} 31.48329{col 47}{space 1}   -2.04{col 56}{space 3}0.049{col 64}{space 4}-128.1395{col 77}{space 3}-.4372914
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF 3 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row B (Dummy Variable Analysis)
.         reg $y d2 dT d2_dT $dvacontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}        67
                                                {txt}{help j_robustsingular:F(10, 49) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.2015
                                                {txt}Root MSE          =    {res}  .4729

{txt}{ralign 88:(Std. Err. adjusted for {res:50} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2} -.275254{col 36}{space 2} .1218055{col 47}{space 1}   -2.26{col 56}{space 3}0.028{col 64}{space 4}-.5200313{col 77}{space 3}-.0304766
{txt}{space 20}dT {c |}{col 24}{res}{space 2} .1432251{col 36}{space 2} .1508239{col 47}{space 1}    0.95{col 56}{space 3}0.347{col 64}{space 4}-.1598668{col 77}{space 3} .4463171
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .2514107{col 36}{space 2} .2525371{col 47}{space 1}    1.00{col 56}{space 3}0.324{col 64}{space 4}-.2560816{col 77}{space 3}  .758903
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .0071867{col 36}{space 2} .1482698{col 47}{space 1}    0.05{col 56}{space 3}0.962{col 64}{space 4}-.2907726{col 77}{space 3}  .305146
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .1608695{col 36}{space 2} .2483169{col 47}{space 1}    0.65{col 56}{space 3}0.520{col 64}{space 4}-.3381421{col 77}{space 3}  .659881
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .3871985{col 36}{space 2} .1445454{col 47}{space 1}    2.68{col 56}{space 3}0.010{col 64}{space 4} .0967235{col 77}{space 3} .6776734
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0098691{col 36}{space 2} .0099619{col 47}{space 1}    0.99{col 56}{space 3}0.327{col 64}{space 4}-.0101501{col 77}{space 3} .0298882
{txt}{space 16}yr_dva {c |}{col 24}{res}{space 2} .0040808{col 36}{space 2} .0029748{col 47}{space 1}    1.37{col 56}{space 3}0.176{col 64}{space 4}-.0018972{col 77}{space 3} .0100588
{txt}{space 15}emp_dva {c |}{col 24}{res}{space 2}-.0016266{col 36}{space 2} .0030889{col 47}{space 1}   -0.53{col 56}{space 3}0.601{col 64}{space 4} -.007834{col 77}{space 3} .0045808
{txt}{space 12}dva_yr_dum {c |}{col 24}{res}{space 2}-.2422696{col 36}{space 2} .1114343{col 47}{space 1}   -2.17{col 56}{space 3}0.035{col 64}{space 4}-.4662052{col 77}{space 3} -.018334
{txt}{space 11}dva_emp_dum {c |}{col 24}{res}{space 2}-.3047226{col 36}{space 2} .1829863{col 47}{space 1}   -1.67{col 56}{space 3}0.102{col 64}{space 4}-.6724474{col 77}{space 3} .0630021
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-7.798292{col 36}{space 2} 5.958503{col 47}{space 1}   -1.31{col 56}{space 3}0.197{col 64}{space 4}-19.77235{col 77}{space 3} 4.175769
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $dvacontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF 3 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row C (Mean Imputation)
.         reg $y d2 dT d2_dT $MIcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}        67
                                                {txt}{help j_robustsingular:F(8, 49) }         =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1435
                                                {txt}Root MSE          =    {res} .48109

{txt}{ralign 88:(Std. Err. adjusted for {res:50} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.1900507{col 36}{space 2} .1236276{col 47}{space 1}   -1.54{col 56}{space 3}0.131{col 64}{space 4}-.4384896{col 77}{space 3} .0583882
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0526569{col 36}{space 2} .1369895{col 47}{space 1}   -0.38{col 56}{space 3}0.702{col 64}{space 4}-.3279476{col 77}{space 3} .2226338
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .3941159{col 36}{space 2} .2581056{col 47}{space 1}    1.53{col 56}{space 3}0.133{col 64}{space 4}-.1245667{col 77}{space 3} .9127984
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1350813{col 36}{space 2} .1453435{col 47}{space 1}   -0.93{col 56}{space 3}0.357{col 64}{space 4}  -.42716{col 77}{space 3} .1569974
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .1932249{col 36}{space 2} .2566227{col 47}{space 1}    0.75{col 56}{space 3}0.455{col 64}{space 4}-.3224777{col 77}{space 3} .7089274
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .4332248{col 36}{space 2} .1549305{col 47}{space 1}    2.80{col 56}{space 3}0.007{col 64}{space 4} .1218802{col 77}{space 3} .7445694
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0132415{col 36}{space 2} .0097496{col 47}{space 1}    1.36{col 56}{space 3}0.181{col 64}{space 4} -.006351{col 77}{space 3} .0328339
{txt}{space 8}yr_impute_mean {c |}{col 24}{res}{space 2} .0065878{col 36}{space 2} .0026739{col 47}{space 1}    2.46{col 56}{space 3}0.017{col 64}{space 4} .0012144{col 77}{space 3} .0119613
{txt}{space 11}emp1_impute {c |}{col 24}{res}{space 2} .0004216{col 36}{space 2} .0024014{col 47}{space 1}    0.18{col 56}{space 3}0.861{col 64}{space 4}-.0044041{col 77}{space 3} .0052474
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-12.93302{col 36}{space 2} 5.326442{col 47}{space 1}   -2.43{col 56}{space 3}0.019{col 64}{space 4} -23.6369{col 77}{space 3}-2.229132
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $MIcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF 3 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row D (Limited SBIR controls)
.         reg $y d2 dT d2_dT $SBIRcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}        67
                                                {txt}{help j_robustsingular:F(6, 49) }         =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1125
                                                {txt}Root MSE          =    {res} .48134

{txt}{ralign 88:(Std. Err. adjusted for {res:50} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.1573117{col 36}{space 2} .1209574{col 47}{space 1}   -1.30{col 56}{space 3}0.199{col 64}{space 4}-.4003847{col 77}{space 3} .0857612
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0420418{col 36}{space 2}  .137245{col 47}{space 1}   -0.31{col 56}{space 3}0.761{col 64}{space 4}-.3178461{col 77}{space 3} .2337624
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .3218956{col 36}{space 2} .2529806{col 47}{space 1}    1.27{col 56}{space 3}0.209{col 64}{space 4}-.1864879{col 77}{space 3}  .830279
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1307045{col 36}{space 2} .1442522{col 47}{space 1}   -0.91{col 56}{space 3}0.369{col 64}{space 4}-.4205902{col 77}{space 3} .1591812
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .2447496{col 36}{space 2} .2711777{col 47}{space 1}    0.90{col 56}{space 3}0.371{col 64}{space 4}-.3002025{col 77}{space 3} .7897017
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .4317435{col 36}{space 2} .1592225{col 47}{space 1}    2.71{col 56}{space 3}0.009{col 64}{space 4} .1117739{col 77}{space 3} .7517132
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0150504{col 36}{space 2} .0094761{col 47}{space 1}    1.59{col 56}{space 3}0.119{col 64}{space 4}-.0039925{col 77}{space 3} .0340933
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}  .219959{col 36}{space 2}  .131916{col 47}{space 1}    1.67{col 56}{space 3}0.102{col 64}{space 4}-.0451362{col 77}{space 3} .4850541
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $SBIRcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF 3 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         
. ** Table D.7: Column 4
.         drop if p1prior_capacity > 1
{txt}(15 observations deleted)
{com}.         * Row A
.         reg $y d2 dT d2_dT $ddcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}        39
                                                {txt}{help j_robustsingular:F(8, 32) }         =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.3087
                                                {txt}Root MSE          =    {res} .47811

{txt}{ralign 88:(Std. Err. adjusted for {res:33} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.6228129{col 36}{space 2} .2143426{col 47}{space 1}   -2.91{col 56}{space 3}0.007{col 64}{space 4}-1.059414{col 77}{space 3}-.1862114
{txt}{space 20}dT {c |}{col 24}{res}{space 2} .0656077{col 36}{space 2}  .416508{col 47}{space 1}    0.16{col 56}{space 3}0.876{col 64}{space 4}-.7827913{col 77}{space 3} .9140066
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .4739467{col 36}{space 2} .4965959{col 47}{space 1}    0.95{col 56}{space 3}0.347{col 64}{space 4} -.537586{col 77}{space 3} 1.485479
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1727023{col 36}{space 2} .4215991{col 47}{space 1}   -0.41{col 56}{space 3}0.685{col 64}{space 4}-1.031472{col 77}{space 3}  .686067
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .2072881{col 36}{space 2} .2132359{col 47}{space 1}    0.97{col 56}{space 3}0.338{col 64}{space 4}-.2270593{col 77}{space 3} .6416355
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}  .695239{col 36}{space 2} .2248606{col 47}{space 1}    3.09{col 56}{space 3}0.004{col 64}{space 4} .2372131{col 77}{space 3} 1.153265
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0105627{col 36}{space 2} .0131455{col 47}{space 1}    0.80{col 56}{space 3}0.428{col 64}{space 4}-.0162138{col 77}{space 3} .0373393
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2} .0394656{col 36}{space 2} .0184816{col 47}{space 1}    2.14{col 56}{space 3}0.040{col 64}{space 4} .0018199{col 77}{space 3} .0771114
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2} .0042761{col 36}{space 2} .0046988{col 47}{space 1}    0.91{col 56}{space 3}0.370{col 64}{space 4} -.005295{col 77}{space 3} .0138471
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-78.54811{col 36}{space 2} 36.95194{col 47}{space 1}   -2.13{col 56}{space 3}0.041{col 64}{space 4}-153.8167{col 77}{space 3}-3.279479
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF 1 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row B (Dummy Variable Analysis)
.         reg $y d2 dT d2_dT $dvacontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}        52
                                                {txt}{help j_robustsingular:F(10, 44) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.2779
                                                {txt}Root MSE          =    {res} .46656

{txt}{ralign 88:(Std. Err. adjusted for {res:45} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.4552879{col 36}{space 2} .1586149{col 47}{space 1}   -2.87{col 56}{space 3}0.006{col 64}{space 4}-.7749553{col 77}{space 3}-.1356205
{txt}{space 20}dT {c |}{col 24}{res}{space 2} .1109475{col 36}{space 2} .1854134{col 47}{space 1}    0.60{col 56}{space 3}0.553{col 64}{space 4}-.2627287{col 77}{space 3} .4846238
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .3983234{col 36}{space 2} .2853304{col 47}{space 1}    1.40{col 56}{space 3}0.170{col 64}{space 4}-.1767222{col 77}{space 3} .9733689
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1370824{col 36}{space 2} .1900406{col 47}{space 1}   -0.72{col 56}{space 3}0.475{col 64}{space 4} -.520084{col 77}{space 3} .2459192
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .1909325{col 36}{space 2}  .231858{col 47}{space 1}    0.82{col 56}{space 3}0.415{col 64}{space 4}-.2763466{col 77}{space 3} .6582117
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .3894151{col 36}{space 2} .1557726{col 47}{space 1}    2.50{col 56}{space 3}0.016{col 64}{space 4} .0754761{col 77}{space 3} .7033541
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0075691{col 36}{space 2} .0123464{col 47}{space 1}    0.61{col 56}{space 3}0.543{col 64}{space 4}-.0173134{col 77}{space 3} .0324516
{txt}{space 16}yr_dva {c |}{col 24}{res}{space 2} .0044275{col 36}{space 2} .0032055{col 47}{space 1}    1.38{col 56}{space 3}0.174{col 64}{space 4}-.0020328{col 77}{space 3} .0108877
{txt}{space 15}emp_dva {c |}{col 24}{res}{space 2}-.0018984{col 36}{space 2} .0033133{col 47}{space 1}   -0.57{col 56}{space 3}0.570{col 64}{space 4}-.0085758{col 77}{space 3} .0047791
{txt}{space 12}dva_yr_dum {c |}{col 24}{res}{space 2} -.253948{col 36}{space 2} .1424924{col 47}{space 1}   -1.78{col 56}{space 3}0.082{col 64}{space 4}-.5411225{col 77}{space 3} .0332266
{txt}{space 11}dva_emp_dum {c |}{col 24}{res}{space 2}-.2833762{col 36}{space 2} .2142208{col 47}{space 1}   -1.32{col 56}{space 3}0.193{col 64}{space 4}-.7151097{col 77}{space 3} .1483574
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-8.392229{col 36}{space 2} 6.406107{col 47}{space 1}   -1.31{col 56}{space 3}0.197{col 64}{space 4}-21.30289{col 77}{space 3} 4.518432
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $dvacontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF 1 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row C (Mean Imputation)
.         reg $y d2 dT d2_dT $MIcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}        52
                                                {txt}{help j_robustsingular:F(8, 44) }         =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.2179
                                                {txt}Root MSE          =    {res} .47386

{txt}{ralign 88:(Std. Err. adjusted for {res:45} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}-.3957552{col 36}{space 2}  .152684{col 47}{space 1}   -2.59{col 56}{space 3}0.013{col 64}{space 4}-.7034697{col 77}{space 3}-.0880407
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0787017{col 36}{space 2} .1712795{col 47}{space 1}   -0.46{col 56}{space 3}0.648{col 64}{space 4} -.423893{col 77}{space 3} .2664895
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .5650931{col 36}{space 2} .2720967{col 47}{space 1}    2.08{col 56}{space 3}0.044{col 64}{space 4} .0167183{col 77}{space 3} 1.113468
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.3013645{col 36}{space 2} .1696026{col 47}{space 1}   -1.78{col 56}{space 3}0.083{col 64}{space 4}-.6431761{col 77}{space 3} .0404471
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .2117094{col 36}{space 2} .2329592{col 47}{space 1}    0.91{col 56}{space 3}0.368{col 64}{space 4} -.257789{col 77}{space 3} .6812078
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .4405213{col 36}{space 2} .1622519{col 47}{space 1}    2.72{col 56}{space 3}0.009{col 64}{space 4} .1135242{col 77}{space 3} .7675185
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0080634{col 36}{space 2} .0122569{col 47}{space 1}    0.66{col 56}{space 3}0.514{col 64}{space 4}-.0166388{col 77}{space 3} .0327656
{txt}{space 8}yr_impute_mean {c |}{col 24}{res}{space 2} .0068194{col 36}{space 2} .0027212{col 47}{space 1}    2.51{col 56}{space 3}0.016{col 64}{space 4} .0013352{col 77}{space 3} .0123035
{txt}{space 11}emp1_impute {c |}{col 24}{res}{space 2}-.0000472{col 36}{space 2} .0025695{col 47}{space 1}   -0.02{col 56}{space 3}0.985{col 64}{space 4}-.0052258{col 77}{space 3} .0051314
{txt}{space 17}_cons {c |}{col 24}{res}{space 2}-13.26351{col 36}{space 2} 5.418981{col 47}{space 1}   -2.45{col 56}{space 3}0.018{col 64}{space 4}-24.18475{col 77}{space 3}-2.342275
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $MIcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF 1 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}.         * Row D (Limited SBIR controls)
.         reg $y d2 dT d2_dT $SBIRcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}        52
                                                {txt}{help j_robustsingular:F(6, 44) }         =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1736
                                                {txt}Root MSE          =    {res} .47589

{txt}{ralign 88:(Std. Err. adjusted for {res:45} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2} -.345843{col 36}{space 2} .1554611{col 47}{space 1}   -2.22{col 56}{space 3}0.031{col 64}{space 4}-.6591542{col 77}{space 3}-.0325317
{txt}{space 20}dT {c |}{col 24}{res}{space 2} -.068382{col 36}{space 2} .1731686{col 47}{space 1}   -0.39{col 56}{space 3}0.695{col 64}{space 4}-.4173805{col 77}{space 3} .2806164
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .4734782{col 36}{space 2} .2719457{col 47}{space 1}    1.74{col 56}{space 3}0.089{col 64}{space 4}-.0745922{col 77}{space 3} 1.021549
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.2887305{col 36}{space 2} .1738626{col 47}{space 1}   -1.66{col 56}{space 3}0.104{col 64}{space 4}-.6391275{col 77}{space 3} .0616665
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .2707472{col 36}{space 2} .2491634{col 47}{space 1}    1.09{col 56}{space 3}0.283{col 64}{space 4}-.2314086{col 77}{space 3}  .772903
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .4416427{col 36}{space 2} .1656581{col 47}{space 1}    2.67{col 56}{space 3}0.011{col 64}{space 4} .1077808{col 77}{space 3} .7755046
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0110049{col 36}{space 2} .0117121{col 47}{space 1}    0.94{col 56}{space 3}0.353{col 64}{space 4}-.0125993{col 77}{space 3} .0346091
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .3340305{col 36}{space 2} .1684395{col 47}{space 1}    1.98{col 56}{space 3}0.054{col 64}{space 4}-.0054371{col 77}{space 3} .6734981
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         outreg2 $y d2 dT d2_dT $SBIRcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF 1 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}. restore
. {c )-}
{txt}
{com}. ********************************************************************************
.         * Table D.8 Firm survival
. {c -(}       
.         *Manuscript: Section 6.1 Other Considerations
.         *Results: Appendix D, Section D.3
. 
. preserve
. destring OutofBis_NETS, replace
{txt}OutofBis_NETS has all characters numeric; {res}replaced {txt}as {res}int
{txt}(2403 missing values generated)
{res}{com}. sum OutofBis_NETS

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
OutofBis_N~S {c |}{res}         19    2004.368    .6839856       2003       2006
{com}. drop if p1year == 2006
{txt}(245 observations deleted)
{com}. gen d2 = 1 if p1year > 2006
{txt}(1,030 missing values generated)
{com}. recode d2 (.=0)
{txt}(d2: 1030 changes made)
{com}. label var d2 "Post-period"
. gen dT = 1 if state=="nc"|state=="ky"
{txt}(1,488 missing values generated)
{com}. recode dT (.=0)
{txt}(dT: 1488 changes made)
{com}. label variable dT "Treated state"
. gen d2_dT = d2*dT
. lab var d2_dT "Policy Effect"
. recode NETS_match (.=0)
{txt}(NETS_match: 87 changes made)
{com}. count if NETS_match == 0
  {res}209
{com}.         *2558 projects out of 2882 have NETS (88.75 percent)
.         *sans year 2006, 2341 out of 2637 have NETS (88.77 percent) 
. 
.                 * Adjust data from project to firm-level
. sort firm_id p1year
. by firm_id: egen last_p1year = max(p1year)
. drop if last_p1year != p1year
{txt}(1,334 observations deleted)
{com}. sort firm_id
. collapse d2 dT d2_dT DunNum_match NETS_match OutofBis_NETS WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual p1year p1prior_capacity agency_group_id, by (firm_id)
. sum d2 dT d2_dT DunNum_match NETS_match OutofBis_NETS WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual p1year p1prior_capacity

{txt}    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 10}d2 {c |}{res}        642    .6323988     .482528          0          1
{txt}{space 10}dT {c |}{res}        642    .4252336    .4947639          0          1
{txt}{space 7}d2_dT {c |}{res}        642    .2570093    .4373253          0          1
{txt}DunNum_match {c |}{res}        642    .9096573    .2868956          0          1
{txt}{space 2}NETS_match {c |}{res}        642     .864486    .3425387          0          1
{txt}{hline 13}{c +}{hline 57}
OutofBis_N~S {c |}{res}          6      2004.5    1.048809       2003       2006
{txt}WomanOwn_dum {c |}{res}        642    .0946262    .2924264          0          1
{txt}{space 5}HUB_dum {c |}{res}        642    .0292056    .1676436          0          1
{txt}Minority_dum {c |}{res}        642    .0689252    .2521748          0          1
{txt}p1cbsa_cap~l {c |}{res}        642     17.4704    12.51769          0         44
{txt}{hline 13}{c +}{hline 57}
{space 6}p1year {c |}{res}        642        2007    2.792904       2002       2010
{txt}p1prior_ca~y {c |}{res}        642    2.864486    12.39113          0        264
{com}. global ddcontrols WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual
. 
.         * Table D.8
. ttest DunNum_match if dT == 1, by (d2_dT) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    108{col 22} .8611111{col 34} .0334327{col 46} .3474428{col 58} .7948347{col 70} .9273875
       {txt}1 {c |}{res}{col 12}    165{col 22} .9818182{col 34} .0104331{col 46} .1340153{col 58} .9612177{col 70} 1.002419
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    273{col 22} .9340659{col 34} .0150473{col 46} .2486226{col 58} .9044419{col 70}   .96369
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1207071{col 34} .0350228{col 58}-.1900053{col 70}-.0514089
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -3.4465
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 128.062

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0004         {txt}Pr(|T| > |t|) = {res}0.0008          {txt}Pr(T > t) = {res}0.9996
{com}. ttest DunNum_match if dT == 0, by (d2) unequal

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    128{col 22} .7734375{col 34} .0371454{col 46}  .420252{col 58} .6999335{col 70} .8469415
       {txt}1 {c |}{res}{col 12}    241{col 22} .9543568{col 34} .0134722{col 46} .2091443{col 58}  .927818{col 70} .9808956
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    369{col 22} .8915989{col 34} .0162061{col 46} .3113084{col 58} .8597308{col 70}  .923467
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1809193{col 34}  .039513{col 58}-.2589495{col 70}-.1028892
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -4.5787
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 161.134

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0000         {txt}Pr(|T| > |t|) = {res}0.0000          {txt}Pr(T > t) = {res}1.0000
{com}. 
. 
. ********************************************************************************
.         *Additional assessment of firm survival
.         *Manuscript: Section 6.1 Other Considerations
.         *Results: Appendix D, Section D.3
.         
. drop if p1year < 2002
{txt}(0 observations deleted)
{com}. global y DunNum_match
. reg $y d2 dT d2_dT $ddcontrols, cluster(firm_id)

{txt}Linear regression                               Number of obs     = {res}       642
                                                {txt}F(7, 641)         =  {res}     6.05
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.0832
                                                {txt}Root MSE          =    {res} .27621

{txt}{ralign 88:(Std. Err. adjusted for {res:642} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}          DunNum_match{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2} .1793352{col 36}{space 2} .0395458{col 47}{space 1}    4.53{col 56}{space 3}0.000{col 64}{space 4} .1016802{col 77}{space 3} .2569903
{txt}{space 20}dT {c |}{col 24}{res}{space 2}  .082987{col 36}{space 2} .0503375{col 47}{space 1}    1.65{col 56}{space 3}0.100{col 64}{space 4}-.0158594{col 77}{space 3} .1818334
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2}-.0592959{col 36}{space 2} .0524439{col 47}{space 1}   -1.13{col 56}{space 3}0.259{col 64}{space 4}-.1622785{col 77}{space 3} .0436867
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0358645{col 36}{space 2} .0421972{col 47}{space 1}   -0.85{col 56}{space 3}0.396{col 64}{space 4} -.118726{col 77}{space 3}  .046997
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}-.0223159{col 36}{space 2} .0550105{col 47}{space 1}   -0.41{col 56}{space 3}0.685{col 64}{space 4}-.1303384{col 77}{space 3} .0857065
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}   .07114{col 36}{space 2} .0369074{col 47}{space 1}    1.93{col 56}{space 3}0.054{col 64}{space 4} -.001334{col 77}{space 3}  .143614
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0011667{col 36}{space 2} .0007255{col 47}{space 1}    1.61{col 56}{space 3}0.108{col 64}{space 4} -.000258{col 77}{space 3} .0025913
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .7549567{col 36}{space 2} .0390532{col 47}{space 1}   19.33{col 56}{space 3}0.000{col 64}{space 4} .6782691{col 77}{space 3} .8316443
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. reg $y d2 dT d2_dT $ddcontrols if p1prior_capacity < 6, cluster(firm_id)

{txt}Linear regression                               Number of obs     = {res}       559
                                                {txt}F(7, 558)         =  {res}     5.80
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.0785
                                                {txt}Root MSE          =    {res} .29485

{txt}{ralign 88:(Std. Err. adjusted for {res:559} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}          DunNum_match{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}  .173124{col 36}{space 2}  .041844{col 47}{space 1}    4.14{col 56}{space 3}0.000{col 64}{space 4}  .090933{col 77}{space 3}  .255315
{txt}{space 20}dT {c |}{col 24}{res}{space 2} .0879952{col 36}{space 2} .0515867{col 47}{space 1}    1.71{col 56}{space 3}0.089{col 64}{space 4}-.0133326{col 77}{space 3} .1893229
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2}-.0525341{col 36}{space 2} .0548434{col 47}{space 1}   -0.96{col 56}{space 3}0.339{col 64}{space 4}-.1602588{col 77}{space 3} .0551906
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0405108{col 36}{space 2} .0467853{col 47}{space 1}   -0.87{col 56}{space 3}0.387{col 64}{space 4}-.1324077{col 77}{space 3} .0513861
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}-.0251643{col 36}{space 2}  .067636{col 47}{space 1}   -0.37{col 56}{space 3}0.710{col 64}{space 4}-.1580167{col 77}{space 3} .1076881
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .0814019{col 36}{space 2} .0396555{col 47}{space 1}    2.05{col 56}{space 3}0.041{col 64}{space 4} .0035096{col 77}{space 3} .1592941
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0012115{col 36}{space 2} .0008229{col 47}{space 1}    1.47{col 56}{space 3}0.142{col 64}{space 4}-.0004049{col 77}{space 3} .0028279
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .7462546{col 36}{space 2} .0404487{col 47}{space 1}   18.45{col 56}{space 3}0.000{col 64}{space 4} .6668041{col 77}{space 3}  .825705
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. reg $y d2 dT d2_dT $ddcontrols if agency_group_id == 10, cluster(firm_id)
{txt}note: Minority_dum omitted because of collinearity

Linear regression                               Number of obs     = {res}        77
                                                {txt}F(6, 76)          =  {res}     4.88
                                                {txt}Prob > F          = {res}    0.0003
                                                {txt}R-squared         = {res}    0.4216
                                                {txt}Root MSE          =    {res} .29879

{txt}{ralign 88:(Std. Err. adjusted for {res:77} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}          DunNum_match{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2} .6293192{col 36}{space 2} .1395149{col 47}{space 1}    4.51{col 56}{space 3}0.000{col 64}{space 4} .3514511{col 77}{space 3} .9071872
{txt}{space 20}dT {c |}{col 24}{res}{space 2} .3417085{col 36}{space 2} .2025162{col 47}{space 1}    1.69{col 56}{space 3}0.096{col 64}{space 4}-.0616374{col 77}{space 3} .7450544
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2}-.3589563{col 36}{space 2} .2058412{col 47}{space 1}   -1.74{col 56}{space 3}0.085{col 64}{space 4}-.7689247{col 77}{space 3}  .051012
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} -.048812{col 36}{space 2} .1297319{col 47}{space 1}   -0.38{col 56}{space 3}0.708{col 64}{space 4}-.3071954{col 77}{space 3} .2095714
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .0100529{col 36}{space 2} .0182462{col 47}{space 1}    0.55{col 56}{space 3}0.583{col 64}{space 4}-.0262875{col 77}{space 3} .0463933
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}        0{col 36}{txt}  (omitted)
p1cbsa_capacity_annual {c |}{col 24}{res}{space 2}-.0011641{col 36}{space 2} .0021911{col 47}{space 1}   -0.53{col 56}{space 3}0.597{col 64}{space 4}-.0055281{col 77}{space 3} .0031998
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .3853912{col 36}{space 2} .1462991{col 47}{space 1}    2.63{col 56}{space 3}0.010{col 64}{space 4} .0940113{col 77}{space 3}  .676771
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. reg $y d2 dT d2_dT $ddcontrols if agency_group_id == 8, cluster(firm_id)

{txt}Linear regression                               Number of obs     = {res}       209
                                                {txt}F(7, 208)         =  {res}     2.07
                                                {txt}Prob > F          = {res}    0.0483
                                                {txt}R-squared         = {res}    0.0421
                                                {txt}Root MSE          =    {res} .27999

{txt}{ralign 88:(Std. Err. adjusted for {res:209} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}          DunNum_match{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2} .0787381{col 36}{space 2} .0778331{col 47}{space 1}    1.01{col 56}{space 3}0.313{col 64}{space 4}-.0747047{col 77}{space 3}  .232181
{txt}{space 20}dT {c |}{col 24}{res}{space 2} .0330934{col 36}{space 2} .0863617{col 47}{space 1}    0.38{col 56}{space 3}0.702{col 64}{space 4}-.1371631{col 77}{space 3} .2033499
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .0269005{col 36}{space 2} .0934926{col 47}{space 1}    0.29{col 56}{space 3}0.774{col 64}{space 4}-.1574141{col 77}{space 3}  .211215
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0629015{col 36}{space 2}  .083383{col 47}{space 1}   -0.75{col 56}{space 3}0.451{col 64}{space 4}-.2272855{col 77}{space 3} .1014826
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .1194258{col 36}{space 2} .0585539{col 47}{space 1}    2.04{col 56}{space 3}0.043{col 64}{space 4} .0039906{col 77}{space 3} .2348611
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .1211375{col 36}{space 2} .0449872{col 47}{space 1}    2.69{col 56}{space 3}0.008{col 64}{space 4} .0324482{col 77}{space 3} .2098268
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0005006{col 36}{space 2} .0014074{col 47}{space 1}    0.36{col 56}{space 3}0.722{col 64}{space 4}-.0022739{col 77}{space 3} .0032751
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .8255276{col 36}{space 2} .0674761{col 47}{space 1}   12.23{col 56}{space 3}0.000{col 64}{space 4} .6925029{col 77}{space 3} .9585523
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. global y NETS_match
. reg $y d2 dT d2_dT $ddcontrols, cluster(firm_id)

{txt}Linear regression                               Number of obs     = {res}       642
                                                {txt}F(7, 641)         =  {res}     3.85
                                                {txt}Prob > F          = {res}    0.0004
                                                {txt}R-squared         = {res}    0.0496
                                                {txt}Root MSE          =    {res} .33577

{txt}{ralign 88:(Std. Err. adjusted for {res:642} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}            NETS_match{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2} .1574624{col 36}{space 2} .0425351{col 47}{space 1}    3.70{col 56}{space 3}0.000{col 64}{space 4} .0739374{col 77}{space 3} .2409873
{txt}{space 20}dT {c |}{col 24}{res}{space 2} .0523473{col 36}{space 2} .0541623{col 47}{space 1}    0.97{col 56}{space 3}0.334{col 64}{space 4}-.0540097{col 77}{space 3} .1587043
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2}-.0348194{col 36}{space 2} .0605077{col 47}{space 1}   -0.58{col 56}{space 3}0.565{col 64}{space 4}-.1536367{col 77}{space 3}  .083998
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0575389{col 36}{space 2}  .050076{col 47}{space 1}   -1.15{col 56}{space 3}0.251{col 64}{space 4}-.1558718{col 77}{space 3}  .040794
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}-.0135783{col 36}{space 2} .0661796{col 47}{space 1}   -0.21{col 56}{space 3}0.838{col 64}{space 4}-.1435333{col 77}{space 3} .1163768
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .0895851{col 36}{space 2} .0409274{col 47}{space 1}    2.19{col 56}{space 3}0.029{col 64}{space 4}  .009217{col 77}{space 3} .1699531
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0007795{col 36}{space 2} .0010424{col 47}{space 1}    0.75{col 56}{space 3}0.455{col 64}{space 4}-.0012674{col 77}{space 3} .0028265
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .7376442{col 36}{space 2} .0421972{col 47}{space 1}   17.48{col 56}{space 3}0.000{col 64}{space 4} .6547827{col 77}{space 3} .8205056
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. reg $y d2 dT d2_dT $ddcontrols if p1prior_capacity < 6, cluster(firm_id)

{txt}Linear regression                               Number of obs     = {res}       559
                                                {txt}F(7, 558)         =  {res}     4.31
                                                {txt}Prob > F          = {res}    0.0001
                                                {txt}R-squared         = {res}    0.0541
                                                {txt}Root MSE          =    {res} .34658

{txt}{ralign 88:(Std. Err. adjusted for {res:559} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}            NETS_match{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2} .1567113{col 36}{space 2} .0448898{col 47}{space 1}    3.49{col 56}{space 3}0.001{col 64}{space 4} .0685375{col 77}{space 3}  .244885
{txt}{space 20}dT {c |}{col 24}{res}{space 2}  .055179{col 36}{space 2} .0553837{col 47}{space 1}    1.00{col 56}{space 3}0.320{col 64}{space 4}-.0536071{col 77}{space 3} .1639651
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2}-.0359356{col 36}{space 2}  .063281{col 47}{space 1}   -0.57{col 56}{space 3}0.570{col 64}{space 4}-.1602336{col 77}{space 3} .0883624
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0574728{col 36}{space 2} .0541441{col 47}{space 1}   -1.06{col 56}{space 3}0.289{col 64}{space 4} -.163824{col 77}{space 3} .0488784
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}  .017671{col 36}{space 2} .0693479{col 47}{space 1}    0.25{col 56}{space 3}0.799{col 64}{space 4}-.1185438{col 77}{space 3} .1538858
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .1103156{col 36}{space 2} .0413495{col 47}{space 1}    2.67{col 56}{space 3}0.008{col 64}{space 4}  .029096{col 77}{space 3} .1915352
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0013566{col 36}{space 2} .0011124{col 47}{space 1}    1.22{col 56}{space 3}0.223{col 64}{space 4}-.0008283{col 77}{space 3} .0035415
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .7191937{col 36}{space 2}   .04334{col 47}{space 1}   16.59{col 56}{space 3}0.000{col 64}{space 4} .6340643{col 77}{space 3} .8043231
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. reg $y d2 dT d2_dT $ddcontrols if agency_group_id == 10, cluster(firm_id)
{txt}note: Minority_dum omitted because of collinearity

Linear regression                               Number of obs     = {res}        77
                                                {txt}F(6, 76)          =  {res}     5.33
                                                {txt}Prob > F          = {res}    0.0001
                                                {txt}R-squared         = {res}    0.3046
                                                {txt}Root MSE          =    {res} .35485

{txt}{ralign 88:(Std. Err. adjusted for {res:77} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}            NETS_match{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2}  .638064{col 36}{space 2} .1403751{col 47}{space 1}    4.55{col 56}{space 3}0.000{col 64}{space 4} .3584828{col 77}{space 3} .9176453
{txt}{space 20}dT {c |}{col 24}{res}{space 2}  .341417{col 36}{space 2} .2029129{col 47}{space 1}    1.68{col 56}{space 3}0.097{col 64}{space 4}-.0627191{col 77}{space 3}  .745553
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2}-.4536044{col 36}{space 2} .2131502{col 47}{space 1}   -2.13{col 56}{space 3}0.037{col 64}{space 4}-.8781299{col 77}{space 3}-.0290789
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0052409{col 36}{space 2} .1342686{col 47}{space 1}   -0.04{col 56}{space 3}0.969{col 64}{space 4}-.2726599{col 77}{space 3} .2621781
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .0445587{col 36}{space 2} .0383597{col 47}{space 1}    1.16{col 56}{space 3}0.249{col 64}{space 4}-.0318412{col 77}{space 3} .1209587
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}        0{col 36}{txt}  (omitted)
p1cbsa_capacity_annual {c |}{col 24}{res}{space 2}-.0009554{col 36}{space 2} .0027638{col 47}{space 1}   -0.35{col 56}{space 3}0.731{col 64}{space 4}  -.00646{col 77}{space 3} .0045492
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .3703784{col 36}{space 2} .1491317{col 47}{space 1}    2.48{col 56}{space 3}0.015{col 64}{space 4} .0733569{col 77}{space 3} .6673999
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. reg $y d2 dT d2_dT $ddcontrols if agency_group_id == 8, cluster(firm_id)

{txt}Linear regression                               Number of obs     = {res}       209
                                                {txt}F(7, 208)         =  {res}     4.90
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.0409
                                                {txt}Root MSE          =    {res} .35015

{txt}{ralign 88:(Std. Err. adjusted for {res:209} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}            NETS_match{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}d2 {c |}{col 24}{res}{space 2} .0704711{col 36}{space 2} .0851466{col 47}{space 1}    0.83{col 56}{space 3}0.409{col 64}{space 4}-.0973899{col 77}{space 3} .2383322
{txt}{space 20}dT {c |}{col 24}{res}{space 2}-.0452385{col 36}{space 2} .0984552{col 47}{space 1}   -0.46{col 56}{space 3}0.646{col 64}{space 4}-.2393364{col 77}{space 3} .1488595
{txt}{space 17}d2_dT {c |}{col 24}{res}{space 2} .0872525{col 36}{space 2} .1106132{col 47}{space 1}    0.79{col 56}{space 3}0.431{col 64}{space 4}-.1308142{col 77}{space 3} .3053192
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0104002{col 36}{space 2} .0831228{col 47}{space 1}   -0.13{col 56}{space 3}0.901{col 64}{space 4}-.1742714{col 77}{space 3}  .153471
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .1373957{col 36}{space 2} .0573613{col 47}{space 1}    2.40{col 56}{space 3}0.017{col 64}{space 4} .0243116{col 77}{space 3} .2504797
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .1565144{col 36}{space 2} .0462867{col 47}{space 1}    3.38{col 56}{space 3}0.001{col 64}{space 4} .0652632{col 77}{space 3} .2477656
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0008872{col 36}{space 2} .0019542{col 47}{space 1}    0.45{col 56}{space 3}0.650{col 64}{space 4}-.0029655{col 77}{space 3} .0047398
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} .7835823{col 36}{space 2} .0766418{col 47}{space 1}   10.22{col 56}{space 3}0.000{col 64}{space 4} .6324879{col 77}{space 3} .9346766
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. restore 
. 
. {c )-}
{txt}
{com}. ********************************************************************************
.         ** Analysis fir references in text (not reported in tables or figures)
.         
.         ***********************
.         ** Objective: Firm behavior: tracking firm movement either to or from treated states
.         ** Manuscript: Discussed in Manuscript Section 3.2.3
.         ** Results: Reported in text of manuscript
.         ***********************
. {c -(}
. preserve
. destring LastMove_NETS MoveYear_NETS MoveYear_move_yr*, replace
{txt}LastMove_NETS has all characters numeric; {res}replaced {txt}as {res}int
{txt}(1007 missing values generated)
{res}{txt}MoveYear_NETS has all characters numeric; {res}replaced {txt}as {res}int
{txt}(1007 missing values generated)
{res}{txt}MoveYear_move_yr2_NETS has all characters numeric; {res}replaced {txt}as {res}int
{txt}(1907 missing values generated)
{res}{txt}MoveYear_move_yr3_NETS has all characters numeric; {res}replaced {txt}as {res}int
{txt}(2361 missing values generated)
{res}{txt}MoveYear_move_yr4_NETS has all characters numeric; {res}replaced {txt}as {res}int
{txt}(2420 missing values generated)
{res}{txt}MoveYear_move_yr5_NETS has all characters numeric; {res}replaced {txt}as {res}byte
{txt}(2422 missing values generated)
{res}{com}. drop if p1year < 2002
{txt}(0 observations deleted)
{com}. gen move_state1 = 1 if State_NETS != state_uc
{txt}(2,080 missing values generated)
{com}. lab var move_state1 "Binary: SBIR != NETS state identification"
. recode move_state1 (.=0)
{txt}(move_state1: 2080 changes made)
{com}. replace move_state1 = . if State_NETS == ""
{txt}(237 real changes made, 237 to missing)
{com}. keep if move_state1== 1
{txt}(2,317 observations deleted)
{com}. gen move_to_treated1 = 1 if state_uc == "KY" & move_state1 == 1 
{txt}(84 missing values generated)
{com}. replace move_to_treated1 = 1 if state_uc == "NC" & move_state1 == 1
{txt}(26 real changes made)
{com}. replace move_to_treated1 = 1 if State_NETS == "KY" & move_state1 == 1 
{txt}(1 real change made)
{com}. replace move_to_treated1 = 1 if State_NETS == "NC" & move_state1 == 1 
{txt}(2 real changes made)
{com}. recode move_to_treated1 (.=0)
{txt}(move_to_treated1: 55 changes made)
{com}. sort firm_id
. collapse move_to_treated1, by(firm_id)
.         *19 firms moved either in or out of the treated states
.         *20 firms moved either in or out of the nontreated states
. restore
.         * Compare NETS Origin to NETS
. preserve
. destring MoveYear_NETS, replace
{txt}MoveYear_NETS has all characters numeric; {res}replaced {txt}as {res}int
{txt}(1007 missing values generated)
{res}{com}. gen move_state2 = 1 if State_NETS != OriginState_NETS 
{txt}(1,476 missing values generated)
{com}. replace move_state2 = . if OriginState_NETS == ""
{txt}(770 real changes made, 770 to missing)
{com}. replace move_state2 = . if State_NETS == ""
{txt}(0 real changes made)
{com}. lab var move_state2 "Binary: OriginNETS != NETS state identification"
. gen move_from_treated2 = 1 if OriginState_NETS == "KY" & move_state2== 1 
{txt}(2,421 missing values generated)
{com}. replace move_from_treated2 = 1 if OriginState_NETS == "NC" & move_state2== 1
{txt}(14 real changes made)
{com}.         *17 proposals
. gen move_to_treated2 = 1 if State_NETS == "KY" & move_state2== 1
{txt}(2,414 missing values generated)
{com}. replace move_to_treated2 = 1 if State_NETS == "NC" & move_state2== 1
{txt}(25 real changes made)
{com}.         *40 proposals 
. gen move_nontreated = 1 if move_state2 == 1 & move_from_treated != 1 & move_to_treated !=1
{txt}(2,294 missing values generated)
{com}.         *155 proposal
. sort firm_id
. collapse move_to_treated2 move_from_treated2 move_nontreated MoveYear_NETS, by(firm_id)
.         * 12 firms moved to treated
.         * 10 firms moved from treated
.         * 23 firms moved to or from nontreated states
. restore 
. {c )-}
{txt}
{com}. 
.         ***********************
.         ** Objective: Mechanisms of SMP regarding timing 
.         ** Manuscript: Discussed in section, 6. Discussion
.         ** Results: Reported in text of manuscript
.         ***********************
. {c -(}
.         gen timelag =p2year-p1year
{txt}(1,319 missing values generated)
{com}.         preserve 
.         drop if p1year < 2006
{txt}(1,030 observations deleted)
{com}.         drop if state == "nc" & smp1 ==0
{txt}(174 observations deleted)
{com}.         drop if state == "ky" & smp1 ==0
{txt}(40 observations deleted)
{com}.         ttest timelag, by(smp1)

{txt}Two-sample t test with equal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}    421{col 22} 1.361045{col 34} .0363099{col 46}  .745017{col 58} 1.289673{col 70} 1.432417
       {txt}1 {c |}{res}{col 12}    100{col 22}     1.53{col 34} .0809726{col 46} .8097262{col 58} 1.369333{col 70} 1.690667
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}    521{col 22} 1.393474{col 34} .0332954{col 46}  .759982{col 58} 1.328064{col 70} 1.458884
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1689549{col 34} .0842995{col 58} -.334565{col 70}-.0033447
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -2.0042
{txt}Ho: diff = 0                                     degrees of freedom = {res}     519

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0228         {txt}Pr(|T| > |t|) = {res}0.0456          {txt}Pr(T > t) = {res}0.9772
{com}.         restore
. {c )-}       
{txt}
{com}. 
.         ***********************
.         ** Objective: Analysis of Alternative Outcomes - Employment Change
.         ** Manuscript: Discussed in section, 6. Discussion & Appendix D, section D.3.1 - Employment Change
.         ** Results: Referenced in text of manuscript
.         ***********************
. {c -(}
.         ** IMPUTE employment data
. gen p2yr_impute = p2year
{txt}(1,319 missing values generated)
{com}. replace p2yr_impute = p1year+1 if p2yr_impute ==.
{txt}(1,319 real changes made)
{com}. lab var p2yr_impute "Phase 2 yr, includes imputed values if missing: p1yr+1"
. ** the average time lag from Phase 1 to Phase 2 is 1.2 years, thus add 1 year for p2 is project not secure a phase 2.
. gen yr_est_missing = 1 if yr_est_full == . 
{txt}(2,346 missing values generated)
{com}. replace yr_est_full = p1year if yr_est_missing == 1
{txt}(76 real changes made)
{com}. gen yr_est_error = 1 if yr_est_full > p1year
{txt}(2,348 missing values generated)
{com}. replace yr_est_full = p1year if yr_est_full > p1year
{txt}(74 real changes made)
{com}. gen firm_age_p1 = p1year - yr_est_full
. gen firm_age_p2 = p2yr_impute - yr_est_full
. ** employment data: Emp_p1year, Emp_p2year_full
. * impute missing values
. drop emp1_impute
. gen emp1_impute = Emp_p1year
{txt}(386 missing values generated)
{com}. *tab firm_age_p1 if emp1_impute == .
. ** 513 projects do not have employee information; impute the average employment for firms of the same age
. ** gather these variables from the following command: sum Emp_p1year if firm_age_p1 == `x'
. replace emp1_impute = 3.08 if firm_age_p1 == 0 & Emp_p1year ==.
{txt}(171 real changes made)
{com}. replace emp1_impute = 4.78 if firm_age_p1 == 1 & Emp_p1year ==.
{txt}(17 real changes made)
{com}. replace emp1_impute = 5.68 if firm_age_p1 == 2 & Emp_p1year ==.
{txt}(30 real changes made)
{com}. replace emp1_impute = 6.92 if firm_age_p1 == 3 & Emp_p1year ==.
{txt}(19 real changes made)
{com}. replace emp1_impute = 8.87 if firm_age_p1 == 4 & Emp_p1year ==.
{txt}(27 real changes made)
{com}. replace emp1_impute = 8.59 if firm_age_p1 == 5 & Emp_p1year ==.
{txt}(18 real changes made)
{com}. replace emp1_impute = 11.57 if firm_age_p1 == 6 & Emp_p1year ==.
{txt}(19 real changes made)
{com}. replace emp1_impute = 14.39 if firm_age_p1 == 7 & Emp_p1year ==.
{txt}(14 real changes made)
{com}. replace emp1_impute = 13.23 if firm_age_p1 == 8 & Emp_p1year ==.
{txt}(17 real changes made)
{com}. replace emp1_impute = 17.5 if firm_age_p1 == 9 & Emp_p1year ==.
{txt}(11 real changes made)
{com}. replace emp1_impute = 19.58 if firm_age_p1 == 10 & Emp_p1year ==.
{txt}(10 real changes made)
{com}. replace emp1_impute = 27.52 if firm_age_p1 == 11 & Emp_p1year ==.
{txt}(13 real changes made)
{com}. replace emp1_impute = 30.47 if firm_age_p1 == 12 & Emp_p1year ==.
{txt}(4 real changes made)
{com}. replace emp1_impute = 31.92 if firm_age_p1 == 13 & Emp_p1year ==.
{txt}(1 real change made)
{com}. replace emp1_impute = 35.22 if firm_age_p1 == 14 & Emp_p1year ==.
{txt}(5 real changes made)
{com}. replace emp1_impute = 39.61 if firm_age_p1 == 15 & Emp_p1year ==.
{txt}(1 real change made)
{com}. replace emp1_impute = 38.85 if firm_age_p1 == 16 & Emp_p1year ==.
{txt}(0 real changes made)
{com}. replace emp1_impute = 43.83 if firm_age_p1 == 18 & Emp_p1year ==.
{txt}(3 real changes made)
{com}. replace emp1_impute = 29.03 if firm_age_p1 == 22 & Emp_p1year ==.
{txt}(1 real change made)
{com}. replace emp1_impute = 54.26 if firm_age_p1 == 26 & Emp_p1year ==.
{txt}(1 real change made)
{com}. replace emp1_impute = 65.31 if firm_age_p1 == 27 & Emp_p1year ==.
{txt}(1 real change made)
{com}. replace emp1_impute = 94.6 if firm_age_p1 == 29 & Emp_p1year ==.
{txt}(1 real change made)
{com}. replace emp1_impute = 27.44 if firm_age_p1 > 29 & Emp_p1year ==.
{txt}(2 real changes made)
{com}. 
. 
. gen emp2_impute = Emp_p2year_full
{txt}(355 missing values generated)
{com}. *tab firm_age_p2 if emp2_impute == .
. ** 472 projects do not have employee information; impute the average employment for firms of the same age drawing upon Emp_p2year_full data
. ** gather these variables from the following command: sum Emp_p2year_full if firm_age_p2 == `x'
. replace emp2_impute = 2.94 if firm_age_p2 == 0 & Emp_p2year_full == .
{txt}(13 real changes made)
{com}. replace emp2_impute = 2.94 if firm_age_p2 == 1 & Emp_p2year_full == .
{txt}(104 real changes made)
{com}. replace emp2_impute = 5.22 if firm_age_p2 == 2 & Emp_p2year_full == . 
{txt}(35 real changes made)
{com}. replace emp2_impute = 6.88 if firm_age_p2 == 3 & Emp_p2year_full == . 
{txt}(35 real changes made)
{com}. replace emp2_impute = 7.28 if firm_age_p2 == 4 & Emp_p2year_full == . 
{txt}(19 real changes made)
{com}. replace emp2_impute = 11.85 if firm_age_p2 == 5 & Emp_p2year_full == . 
{txt}(25 real changes made)
{com}. replace emp2_impute = 9.85 if firm_age_p2 == 6 & Emp_p2year_full == . 
{txt}(20 real changes made)
{com}. replace emp2_impute = 13.31 if firm_age_p2 == 7 & Emp_p2year_full == . 
{txt}(19 real changes made)
{com}. replace emp2_impute = 13.39 if firm_age_p2 == 8 & Emp_p2year_full == . 
{txt}(18 real changes made)
{com}. replace emp2_impute = 12.74 if firm_age_p2 == 9 & Emp_p2year_full == . 
{txt}(15 real changes made)
{com}. replace emp2_impute = 20.82 if firm_age_p2 == 10 & Emp_p2year_full == . 
{txt}(11 real changes made)
{com}. replace emp2_impute = 23.87 if firm_age_p2 == 11 & Emp_p2year_full == . 
{txt}(9 real changes made)
{com}. replace emp2_impute = 28.11 if firm_age_p2 == 12 & Emp_p2year_full == . 
{txt}(12 real changes made)
{com}. replace emp2_impute = 30.86 if firm_age_p2 == 13 & Emp_p2year_full == . 
{txt}(6 real changes made)
{com}. replace emp2_impute = 28.61 if firm_age_p2 == 14 & Emp_p2year_full == . 
{txt}(2 real changes made)
{com}. replace emp2_impute = 35.65 if firm_age_p2 == 15 & Emp_p2year_full == . 
{txt}(4 real changes made)
{com}. replace emp2_impute = 37.71 if firm_age_p2 == 16 & Emp_p2year_full == . 
{txt}(0 real changes made)
{com}. replace emp2_impute = 37.82 if firm_age_p2 == 17 & Emp_p2year_full == . 
{txt}(1 real change made)
{com}. replace emp2_impute = 38.45 if firm_age_p2 == 22 & Emp_p2year_full == . 
{txt}(1 real change made)
{com}. replace emp2_impute = 34.95 if firm_age_p2 == 26 & Emp_p2year_full == .  
{txt}(1 real change made)
{com}. replace emp2_impute = 53.06 if firm_age_p2 == 27 & Emp_p2year_full == . 
{txt}(1 real change made)
{com}. replace emp2_impute = 78.63 if firm_age_p2 == 28 & Emp_p2year_full == . 
{txt}(1 real change made)
{com}. replace emp2_impute = 83 if firm_age_p2 == 30 & Emp_p2year_full == . 
{txt}(1 real change made)
{com}. replace emp2_impute = 27.69 if firm_age_p2 > 30 & Emp_p2year_full == . 
{txt}(2 real changes made)
{com}. gen emp_change_impute = emp2_impute - emp1_impute
. lab var emp_change_impute "Emp change, using imputed values"
. gen emp_change_dum = 1 if emp_change_impute > 0
{txt}(1,910 missing values generated)
{com}. recode emp_change_dum (.=0) 
{txt}(emp_change_dum: 1910 changes made)
{com}. lab var emp_change_dum "Job Creation"
. 
.         
.         preserve 
.         drop if p1year == 2006
{txt}(245 observations deleted)
{com}.         gen d2 = 1 if p1year > 2006
{txt}(1,030 missing values generated)
{com}.         recode d2 (.=0)
{txt}(d2: 1030 changes made)
{com}.         label var d2 "Post-period"
.         gen dT = 1 if state=="nc"|state=="ky"
{txt}(1,488 missing values generated)
{com}.         recode dT (.=0)
{txt}(dT: 1488 changes made)
{com}.         label variable dT "Treated state"
.         gen d2_dT = d2*dT
.         lab var d2_dT "SMP Policy Effect"
.         global ddcontrol tot_HE_RD_exp_pd_cbsa_ln VCamt_C_level_RP_paper2_pd_ln log_applied_RD_deflated 
.         global y emp_change_dum
.         drop if p1year < 2002
{txt}(0 observations deleted)
{com}.         *drop if p1prior_capacity > 5
. 
. reg $y d2 dT d2_dT $ddcontrol, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}     2,177
                                                {txt}F(6, 641)         =  {res}     2.27
                                                {txt}Prob > F          = {res}    0.0353
                                                {txt}R-squared         = {res}    0.0258
                                                {txt}Root MSE          =    {res} .40325

{txt}{ralign 95:(Std. Err. adjusted for {res:642} clusters in firm_id)}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}               emp_change_dum{col 31}{c |}      Coef.{col 43}   Std. Err.{col 55}      t{col 63}   P>|t|{col 71}     [95% Con{col 84}f. Interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 27}d2 {c |}{col 31}{res}{space 2}-.0665528{col 43}{space 2} .0539831{col 54}{space 1}   -1.23{col 63}{space 3}0.218{col 71}{space 4}-.1725579{col 84}{space 3} .0394522
{txt}{space 27}dT {c |}{col 31}{res}{space 2} .0625693{col 43}{space 2} .0600247{col 54}{space 1}    1.04{col 63}{space 3}0.298{col 71}{space 4}-.0552995{col 84}{space 3} .1804381
{txt}{space 24}d2_dT {c |}{col 31}{res}{space 2} .0254314{col 43}{space 2} .0731204{col 54}{space 1}    0.35{col 63}{space 3}0.728{col 71}{space 4}-.1181531{col 84}{space 3}  .169016
{txt}{space 5}tot_HE_RD_exp_pd_cbsa_ln {c |}{col 31}{res}{space 2} .0088866{col 43}{space 2}  .004643{col 54}{space 1}    1.91{col 63}{space 3}0.056{col 71}{space 4}-.0002307{col 84}{space 3} .0180038
{txt}VCamt_C_level_RP_paper2_pd_ln {c |}{col 31}{res}{space 2} .0027753{col 43}{space 2} .0051423{col 54}{space 1}    0.54{col 63}{space 3}0.590{col 71}{space 4}-.0073225{col 84}{space 3} .0128731
{txt}{space 6}log_applied_RD_deflated {c |}{col 31}{res}{space 2}-.0157585{col 43}{space 2} .2704951{col 54}{space 1}   -0.06{col 63}{space 3}0.954{col 71}{space 4} -.546922{col 84}{space 3} .5154051
{txt}{space 24}_cons {c |}{col 31}{res}{space 2} .4340897{col 43}{space 2} 6.008237{col 54}{space 1}    0.07{col 63}{space 3}0.942{col 71}{space 4}-11.36412{col 84}{space 3} 12.23229
{txt}{hline 30}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. reg $y d2 dT d2_dT $ddcontrol if agency == "dod", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       945
                                                {txt}F(6, 255)         =  {res}     1.04
                                                {txt}Prob > F          = {res}    0.3975
                                                {txt}R-squared         = {res}    0.0241
                                                {txt}Root MSE          =    {res} .39662

{txt}{ralign 95:(Std. Err. adjusted for {res:256} clusters in firm_id)}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}               emp_change_dum{col 31}{c |}      Coef.{col 43}   Std. Err.{col 55}      t{col 63}   P>|t|{col 71}     [95% Con{col 84}f. Interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 27}d2 {c |}{col 31}{res}{space 2}-.0391617{col 43}{space 2} .0728967{col 54}{space 1}   -0.54{col 63}{space 3}0.592{col 71}{space 4} -.182718{col 84}{space 3} .1043946
{txt}{space 27}dT {c |}{col 31}{res}{space 2} .0268957{col 43}{space 2} .0895262{col 54}{space 1}    0.30{col 63}{space 3}0.764{col 71}{space 4}-.1494092{col 84}{space 3} .2032005
{txt}{space 24}d2_dT {c |}{col 31}{res}{space 2}  .053015{col 43}{space 2} .1119936{col 54}{space 1}    0.47{col 63}{space 3}0.636{col 71}{space 4}-.1675353{col 84}{space 3} .2735652
{txt}{space 5}tot_HE_RD_exp_pd_cbsa_ln {c |}{col 31}{res}{space 2} .0082936{col 43}{space 2} .0067691{col 54}{space 1}    1.23{col 63}{space 3}0.222{col 71}{space 4}-.0050369{col 84}{space 3} .0216242
{txt}VCamt_C_level_RP_paper2_pd_ln {c |}{col 31}{res}{space 2} .0002131{col 43}{space 2} .0070624{col 54}{space 1}    0.03{col 63}{space 3}0.976{col 71}{space 4}-.0136949{col 84}{space 3} .0141212
{txt}{space 6}log_applied_RD_deflated {c |}{col 31}{res}{space 2} .2588652{col 43}{space 2} .3773032{col 54}{space 1}    0.69{col 63}{space 3}0.493{col 71}{space 4}-.4841619{col 84}{space 3} 1.001892
{txt}{space 24}_cons {c |}{col 31}{res}{space 2}-5.613763{col 43}{space 2} 8.365673{col 54}{space 1}   -0.67{col 63}{space 3}0.503{col 71}{space 4}-22.08837{col 84}{space 3} 10.86085
{txt}{hline 30}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. reg $y d2 dT d2_dT $ddcontrol if agency == "hhs", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       643
                                                {txt}F(6, 243)         =  {res}     2.68
                                                {txt}Prob > F          = {res}    0.0154
                                                {txt}R-squared         = {res}    0.0599
                                                {txt}Root MSE          =    {res} .42061

{txt}{ralign 95:(Std. Err. adjusted for {res:244} clusters in firm_id)}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}               emp_change_dum{col 31}{c |}      Coef.{col 43}   Std. Err.{col 55}      t{col 63}   P>|t|{col 71}     [95% Con{col 84}f. Interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 27}d2 {c |}{col 31}{res}{space 2}-.0680132{col 43}{space 2} .0906606{col 54}{space 1}   -0.75{col 63}{space 3}0.454{col 71}{space 4}-.2465942{col 84}{space 3} .1105677
{txt}{space 27}dT {c |}{col 31}{res}{space 2} .1743511{col 43}{space 2} .0650054{col 54}{space 1}    2.68{col 63}{space 3}0.008{col 71}{space 4} .0463052{col 84}{space 3}  .302397
{txt}{space 24}d2_dT {c |}{col 31}{res}{space 2}-.0929233{col 43}{space 2} .1036679{col 54}{space 1}   -0.90{col 63}{space 3}0.371{col 71}{space 4}-.2971256{col 84}{space 3}  .111279
{txt}{space 5}tot_HE_RD_exp_pd_cbsa_ln {c |}{col 31}{res}{space 2}  .013474{col 43}{space 2} .0053989{col 54}{space 1}    2.50{col 63}{space 3}0.013{col 71}{space 4} .0028393{col 84}{space 3} .0241086
{txt}VCamt_C_level_RP_paper2_pd_ln {c |}{col 31}{res}{space 2}  .006666{col 43}{space 2} .0063168{col 54}{space 1}    1.06{col 63}{space 3}0.292{col 71}{space 4}-.0057767{col 84}{space 3} .0191086
{txt}{space 6}log_applied_RD_deflated {c |}{col 31}{res}{space 2} -.570457{col 43}{space 2} .3822375{col 54}{space 1}   -1.49{col 63}{space 3}0.137{col 71}{space 4}-1.323379{col 84}{space 3} .1824646
{txt}{space 24}_cons {c |}{col 31}{res}{space 2} 12.61569{col 43}{space 2} 8.489299{col 54}{space 1}    1.49{col 63}{space 3}0.139{col 71}{space 4} -4.10631{col 84}{space 3}  29.3377
{txt}{hline 30}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. reg $y d2 dT d2_dT $ddcontrol if agency == "nsf", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       192
                                                {txt}F(6, 124)         =  {res}     1.67
                                                {txt}Prob > F          = {res}    0.1328
                                                {txt}R-squared         = {res}    0.0401
                                                {txt}Root MSE          =    {res} .40534

{txt}{ralign 95:(Std. Err. adjusted for {res:125} clusters in firm_id)}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}               emp_change_dum{col 31}{c |}      Coef.{col 43}   Std. Err.{col 55}      t{col 63}   P>|t|{col 71}     [95% Con{col 84}f. Interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 27}d2 {c |}{col 31}{res}{space 2}-.2668467{col 43}{space 2} .1257439{col 54}{space 1}   -2.12{col 63}{space 3}0.036{col 71}{space 4}-.5157291{col 84}{space 3}-.0179644
{txt}{space 27}dT {c |}{col 31}{res}{space 2}-.0088659{col 43}{space 2} .1115071{col 54}{space 1}   -0.08{col 63}{space 3}0.937{col 71}{space 4}-.2295696{col 84}{space 3} .2118379
{txt}{space 24}d2_dT {c |}{col 31}{res}{space 2} .1134168{col 43}{space 2} .1345003{col 54}{space 1}    0.84{col 63}{space 3}0.401{col 71}{space 4}-.1527969{col 84}{space 3} .3796306
{txt}{space 5}tot_HE_RD_exp_pd_cbsa_ln {c |}{col 31}{res}{space 2} .0094811{col 43}{space 2}  .006435{col 54}{space 1}    1.47{col 63}{space 3}0.143{col 71}{space 4}-.0032555{col 84}{space 3} .0222177
{txt}VCamt_C_level_RP_paper2_pd_ln {c |}{col 31}{res}{space 2} .0008082{col 43}{space 2} .0063309{col 54}{space 1}    0.13{col 63}{space 3}0.899{col 71}{space 4}-.0117224{col 84}{space 3} .0133388
{txt}{space 6}log_applied_RD_deflated {c |}{col 31}{res}{space 2}-.5570567{col 43}{space 2} .7221638{col 54}{space 1}   -0.77{col 63}{space 3}0.442{col 71}{space 4}-1.986421{col 84}{space 3} .8723077
{txt}{space 24}_cons {c |}{col 31}{res}{space 2} 12.59516{col 43}{space 2} 16.07911{col 54}{space 1}    0.78{col 63}{space 3}0.435{col 71}{space 4}-19.22991{col 84}{space 3} 44.42022
{txt}{hline 30}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}.         restore
. 
.         preserve
.         gen d2_nc = 1 if p1year > 2005
{txt}(1,030 missing values generated)
{com}.         recode d2_nc (.=0)
{txt}(d2_nc: 1030 changes made)
{com}.         label variable d2_nc "NC Post-period"
.         gen dT = 1 if state=="nc"|state=="ky"
{txt}(1,662 missing values generated)
{com}.         recode dT (.=0)
{txt}(dT: 1662 changes made)
{com}.         label variable dT "Treated state"
.         gen d2_dT_nc = d2_nc*dT
.         lab var d2_dT_nc "NC SMP-I policy"
.         gen d2_ky = 1 if p1year > 2006
{txt}(1,275 missing values generated)
{com}.         recode d2_ky (.=0)
{txt}(d2_ky: 1275 changes made)
{com}.         label variable d2_ky "KY Post-period"
.         gen d2_dT_ky = d2_ky*dT
.         lab var d2_dT_ky "KY SMP-I policy"
.         global y emp_change_dum
.         global ddcontrol tot_HE_RD_exp_pd_cbsa_ln VCamt_C_level_RP_paper2_pd_ln log_applied_RD_deflated 
.         drop if p1year < 2002
{txt}(0 observations deleted)
{com}. 
. /* For NC cohort
> reg $y d2_nc dT d2_dT_nc $ddcontrol if cohort == 0, cluster(firm_id) 
> reg $y d2_nc dT d2_dT_nc $ddcontrol if cohort == 0 & agency == "dod", cluster(firm_id) 
> reg $y d2_nc dT d2_dT_nc $ddcontrol if cohort == 0 & agency == "hhs", cluster(firm_id) 
>         ** in looking at the distribution the large majority takes place in DOD and HHS for NC* cohort (thus not report NSF)
> restore 
> */
. 
. * For KY cohort
. reg $y d2_ky dT d2_dT_ky $ddcontrol if cohort == 1, cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       523
                                                {txt}F(6, 194)         =  {res}     3.24
                                                {txt}Prob > F          = {res}    0.0047
                                                {txt}R-squared         = {res}    0.0403
                                                {txt}Root MSE          =    {res} .36386

{txt}{ralign 95:(Std. Err. adjusted for {res:195} clusters in firm_id)}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}               emp_change_dum{col 31}{c |}      Coef.{col 43}   Std. Err.{col 55}      t{col 63}   P>|t|{col 71}     [95% Con{col 84}f. Interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 24}d2_ky {c |}{col 31}{res}{space 2}-.2025756{col 43}{space 2} .0605216{col 54}{space 1}   -3.35{col 63}{space 3}0.001{col 71}{space 4}-.3219404{col 84}{space 3}-.0832109
{txt}{space 27}dT {c |}{col 31}{res}{space 2} .0476712{col 43}{space 2} .0877949{col 54}{space 1}    0.54{col 63}{space 3}0.588{col 71}{space 4}-.1254839{col 84}{space 3} .2208262
{txt}{space 21}d2_dT_ky {c |}{col 31}{res}{space 2} .1396045{col 43}{space 2} .0882214{col 54}{space 1}    1.58{col 63}{space 3}0.115{col 71}{space 4}-.0343917{col 84}{space 3} .3136007
{txt}{space 5}tot_HE_RD_exp_pd_cbsa_ln {c |}{col 31}{res}{space 2}-.0000646{col 43}{space 2} .0064125{col 54}{space 1}   -0.01{col 63}{space 3}0.992{col 71}{space 4}-.0127118{col 84}{space 3} .0125826
{txt}VCamt_C_level_RP_paper2_pd_ln {c |}{col 31}{res}{space 2}-.0030047{col 43}{space 2} .0043696{col 54}{space 1}   -0.69{col 63}{space 3}0.493{col 71}{space 4}-.0116226{col 84}{space 3} .0056133
{txt}{space 6}log_applied_RD_deflated {c |}{col 31}{res}{space 2}-.5910914{col 43}{space 2} .3276197{col 54}{space 1}   -1.80{col 63}{space 3}0.073{col 71}{space 4}-1.237245{col 84}{space 3} .0550623
{txt}{space 24}_cons {c |}{col 31}{res}{space 2} 13.39681{col 43}{space 2} 7.293271{col 54}{space 1}    1.84{col 63}{space 3}0.068{col 71}{space 4}-.9874747{col 84}{space 3} 27.78109
{txt}{hline 30}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. reg $y d2_ky dT d2_dT_ky $ddcontrol if cohort == 1 & agency == "dod", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       130
                                                {txt}F(6, 55)          =  {res}     1.25
                                                {txt}Prob > F          = {res}    0.2975
                                                {txt}R-squared         = {res}    0.0582
                                                {txt}Root MSE          =    {res} .34458

{txt}{ralign 95:(Std. Err. adjusted for {res:56} clusters in firm_id)}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}               emp_change_dum{col 31}{c |}      Coef.{col 43}   Std. Err.{col 55}      t{col 63}   P>|t|{col 71}     [95% Con{col 84}f. Interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 24}d2_ky {c |}{col 31}{res}{space 2}-.1480606{col 43}{space 2} .0987389{col 54}{space 1}   -1.50{col 63}{space 3}0.139{col 71}{space 4}-.3459377{col 84}{space 3} .0498164
{txt}{space 27}dT {c |}{col 31}{res}{space 2} .1130792{col 43}{space 2} .1452055{col 54}{space 1}    0.78{col 63}{space 3}0.439{col 71}{space 4}-.1779191{col 84}{space 3} .4040774
{txt}{space 21}d2_dT_ky {c |}{col 31}{res}{space 2} .0510832{col 43}{space 2} .2747409{col 54}{space 1}    0.19{col 63}{space 3}0.853{col 71}{space 4}-.4995098{col 84}{space 3} .6016763
{txt}{space 5}tot_HE_RD_exp_pd_cbsa_ln {c |}{col 31}{res}{space 2}-.0061058{col 43}{space 2} .0119921{col 54}{space 1}   -0.51{col 63}{space 3}0.613{col 71}{space 4}-.0301385{col 84}{space 3}  .017927
{txt}VCamt_C_level_RP_paper2_pd_ln {c |}{col 31}{res}{space 2} -.005346{col 43}{space 2}  .006802{col 54}{space 1}   -0.79{col 63}{space 3}0.435{col 71}{space 4}-.0189775{col 84}{space 3} .0082856
{txt}{space 6}log_applied_RD_deflated {c |}{col 31}{res}{space 2}-.6347101{col 43}{space 2} .5980233{col 54}{space 1}   -1.06{col 63}{space 3}0.293{col 71}{space 4}-1.833176{col 84}{space 3} .5637555
{txt}{space 24}_cons {c |}{col 31}{res}{space 2} 14.41689{col 43}{space 2} 13.30075{col 54}{space 1}    1.08{col 63}{space 3}0.283{col 71}{space 4}-12.23842{col 84}{space 3} 41.07219
{txt}{hline 30}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. reg $y d2_ky dT d2_dT_ky $ddcontrol if cohort == 1 & agency == "hhs", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       207
                                                {txt}F(6, 83)          =  {res}     1.10
                                                {txt}Prob > F          = {res}    0.3713
                                                {txt}R-squared         = {res}    0.0519
                                                {txt}Root MSE          =    {res}  .3713

{txt}{ralign 95:(Std. Err. adjusted for {res:84} clusters in firm_id)}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}               emp_change_dum{col 31}{c |}      Coef.{col 43}   Std. Err.{col 55}      t{col 63}   P>|t|{col 71}     [95% Con{col 84}f. Interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 24}d2_ky {c |}{col 31}{res}{space 2}-.1470539{col 43}{space 2} .0956421{col 54}{space 1}   -1.54{col 63}{space 3}0.128{col 71}{space 4}-.3372822{col 84}{space 3} .0431744
{txt}{space 27}dT {c |}{col 31}{res}{space 2}  .187181{col 43}{space 2} .1449662{col 54}{space 1}    1.29{col 63}{space 3}0.200{col 71}{space 4} -.101151{col 84}{space 3} .4755129
{txt}{space 21}d2_dT_ky {c |}{col 31}{res}{space 2} .0336734{col 43}{space 2} .1330536{col 54}{space 1}    0.25{col 63}{space 3}0.801{col 71}{space 4}-.2309648{col 84}{space 3} .2983116
{txt}{space 5}tot_HE_RD_exp_pd_cbsa_ln {c |}{col 31}{res}{space 2} .0110182{col 43}{space 2} .0113245{col 54}{space 1}    0.97{col 63}{space 3}0.333{col 71}{space 4}-.0115058{col 84}{space 3} .0335422
{txt}VCamt_C_level_RP_paper2_pd_ln {c |}{col 31}{res}{space 2}-.0017288{col 43}{space 2} .0044756{col 54}{space 1}   -0.39{col 63}{space 3}0.700{col 71}{space 4}-.0106306{col 84}{space 3} .0071731
{txt}{space 6}log_applied_RD_deflated {c |}{col 31}{res}{space 2} -.289763{col 43}{space 2} .4362091{col 54}{space 1}   -0.66{col 63}{space 3}0.508{col 71}{space 4}-1.157365{col 84}{space 3} .5778394
{txt}{space 24}_cons {c |}{col 31}{res}{space 2} 6.532991{col 43}{space 2} 9.698182{col 54}{space 1}    0.67{col 63}{space 3}0.502{col 71}{space 4} -12.7563{col 84}{space 3} 25.82229
{txt}{hline 30}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. reg $y d2_ky dT d2_dT_ky $ddcontrol if cohort == 1 & agency == "nsf", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}        87
                                                {txt}F(6, 54)          =  {res}     2.07
                                                {txt}Prob > F          = {res}    0.0717
                                                {txt}R-squared         = {res}    0.0482
                                                {txt}Root MSE          =    {res} .38431

{txt}{ralign 95:(Std. Err. adjusted for {res:55} clusters in firm_id)}
{hline 30}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 31}{c |}{col 43}    Robust
{col 1}               emp_change_dum{col 31}{c |}      Coef.{col 43}   Std. Err.{col 55}      t{col 63}   P>|t|{col 71}     [95% Con{col 84}f. Interval]
{hline 30}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 24}d2_ky {c |}{col 31}{res}{space 2} -.200176{col 43}{space 2} .1288657{col 54}{space 1}   -1.55{col 63}{space 3}0.126{col 71}{space 4}-.4585361{col 84}{space 3} .0581842
{txt}{space 27}dT {c |}{col 31}{res}{space 2}-.1064496{col 43}{space 2} .2779057{col 54}{space 1}   -0.38{col 63}{space 3}0.703{col 71}{space 4} -.663617{col 84}{space 3} .4507177
{txt}{space 21}d2_dT_ky {c |}{col 31}{res}{space 2} .1770175{col 43}{space 2} .2432532{col 54}{space 1}    0.73{col 63}{space 3}0.470{col 71}{space 4}-.3106758{col 84}{space 3} .6647108
{txt}{space 5}tot_HE_RD_exp_pd_cbsa_ln {c |}{col 31}{res}{space 2}-.0124629{col 43}{space 2} .0164843{col 54}{space 1}   -0.76{col 63}{space 3}0.453{col 71}{space 4}-.0455119{col 84}{space 3} .0205861
{txt}VCamt_C_level_RP_paper2_pd_ln {c |}{col 31}{res}{space 2}-.0041154{col 43}{space 2}  .005618{col 54}{space 1}   -0.73{col 63}{space 3}0.467{col 71}{space 4}-.0153788{col 84}{space 3}  .007148
{txt}{space 6}log_applied_RD_deflated {c |}{col 31}{res}{space 2}-.1927569{col 43}{space 2} .8637315{col 54}{space 1}   -0.22{col 63}{space 3}0.824{col 71}{space 4}-1.924434{col 84}{space 3}  1.53892
{txt}{space 24}_cons {c |}{col 31}{res}{space 2} 4.721225{col 43}{space 2} 19.23723{col 54}{space 1}    0.25{col 63}{space 3}0.807{col 71}{space 4}-33.84711{col 84}{space 3} 43.28956
{txt}{hline 30}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. 
. */
. restore 
.         ** note, not find results for this outcome. Why? likely related to the accuracy of the data (e.g. much is imputed)
. {c )-}
{txt}
{com}.         
.         ***********************
.         ** Objective: Review of time trends of outcome variable across treated and control geographies 
.         ***********************
. {c -(}
.                 * outcome: phase2
.                 sort state p1year
.                 set more off
.                 by state p1year: sum phase2

{txt}{hline}
-> state = ar, p1year = 2002

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}          6    .1666667    .4082483          0          1

{txt}{hline}
-> state = ar, p1year = 2003

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         16         .75    .4472136          0          1

{txt}{hline}
-> state = ar, p1year = 2004

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         14          .5    .5188745          0          1

{txt}{hline}
-> state = ar, p1year = 2005

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         15    .6666667      .48795          0          1

{txt}{hline}
-> state = ar, p1year = 2006

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         16       .4375    .5123475          0          1

{txt}{hline}
-> state = ar, p1year = 2007

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         24        .375    .4945354          0          1

{txt}{hline}
-> state = ar, p1year = 2008

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         18    .4444444      .51131          0          1

{txt}{hline}
-> state = ar, p1year = 2009

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         22    .2272727     .428932          0          1

{txt}{hline}
-> state = ar, p1year = 2010

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         17    .4117647    .5072997          0          1

{txt}{hline}
-> state = ky, p1year = 2002

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         14          .5    .5188745          0          1

{txt}{hline}
-> state = ky, p1year = 2003

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         13    .5384615    .5188745          0          1

{txt}{hline}
-> state = ky, p1year = 2004

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         12    .3333333     .492366          0          1

{txt}{hline}
-> state = ky, p1year = 2005

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         11    .3636364     .504525          0          1

{txt}{hline}
-> state = ky, p1year = 2006

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         11    .3636364     .504525          0          1

{txt}{hline}
-> state = ky, p1year = 2007

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         12          .5     .522233          0          1

{txt}{hline}
-> state = ky, p1year = 2008

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         22    .3636364     .492366          0          1

{txt}{hline}
-> state = ky, p1year = 2009

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         17    .4117647    .5072997          0          1

{txt}{hline}
-> state = ky, p1year = 2010

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         23    .3913043    .4990109          0          1

{txt}{hline}
-> state = mo, p1year = 2002

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         28    .4285714    .5039526          0          1

{txt}{hline}
-> state = mo, p1year = 2003

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         29    .5862069      .50123          0          1

{txt}{hline}
-> state = mo, p1year = 2004

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         26    .2307692    .4296689          0          1

{txt}{hline}
-> state = mo, p1year = 2005

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         26    .3461538    .4851645          0          1

{txt}{hline}
-> state = mo, p1year = 2006

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         22    .4545455    .5096472          0          1

{txt}{hline}
-> state = mo, p1year = 2007

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         17    .3529412    .4925922          0          1

{txt}{hline}
-> state = mo, p1year = 2008

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         28    .3928571    .4973475          0          1

{txt}{hline}
-> state = mo, p1year = 2009

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         29    .2758621    .4548588          0          1

{txt}{hline}
-> state = mo, p1year = 2010

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         35    .3142857    .4710082          0          1

{txt}{hline}
-> state = nc, p1year = 2002

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         61    .5737705     .498632          0          1

{txt}{hline}
-> state = nc, p1year = 2003

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         75    .4933333    .5033223          0          1

{txt}{hline}
-> state = nc, p1year = 2004

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         87    .4482759    .5002004          0          1

{txt}{hline}
-> state = nc, p1year = 2005

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         55    .5090909     .504525          0          1

{txt}{hline}
-> state = nc, p1year = 2006

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         60    .3833333    .4903014          0          1

{txt}{hline}
-> state = nc, p1year = 2007

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         67    .5223881    .5032684          0          1

{txt}{hline}
-> state = nc, p1year = 2008

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         69    .5217391    .5031868          0          1

{txt}{hline}
-> state = nc, p1year = 2009

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         82    .4634146    .5017284          0          1

{txt}{hline}
-> state = nc, p1year = 2010

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         69    .3188406    .4694413          0          1

{txt}{hline}
-> state = sc, p1year = 2002

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         26    .3461538    .4851645          0          1

{txt}{hline}
-> state = sc, p1year = 2003

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         28    .3214286    .4755949          0          1

{txt}{hline}
-> state = sc, p1year = 2004

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         10          .4    .5163978          0          1

{txt}{hline}
-> state = sc, p1year = 2005

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         10          .4    .5163978          0          1

{txt}{hline}
-> state = sc, p1year = 2006

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         21    .3809524    .4976134          0          1

{txt}{hline}
-> state = sc, p1year = 2007

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         14    .4285714    .5135526          0          1

{txt}{hline}
-> state = sc, p1year = 2008

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         16          .5    .5163978          0          1

{txt}{hline}
-> state = sc, p1year = 2009

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         20         .45    .5104178          0          1

{txt}{hline}
-> state = sc, p1year = 2010

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         17    .2352941    .4372373          0          1

{txt}{hline}
-> state = va, p1year = 2002

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        114          .5    .5022075          0          1

{txt}{hline}
-> state = va, p1year = 2003

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        123     .495935    .5020284          0          1

{txt}{hline}
-> state = va, p1year = 2004

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        123    .5121951    .5018956          0          1

{txt}{hline}
-> state = va, p1year = 2005

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        108    .4814815    .5019864          0          1

{txt}{hline}
-> state = va, p1year = 2006

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        115    .4347826    .4978979          0          1

{txt}{hline}
-> state = va, p1year = 2007

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        134    .5746269    .4962546          0          1

{txt}{hline}
-> state = va, p1year = 2008

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        114    .4824561    .5018983          0          1

{txt}{hline}
-> state = va, p1year = 2009

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        143    .4545455    .4996798          0          1

{txt}{hline}
-> state = va, p1year = 2010

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        138    .4130435    .4941742          0          1

{com}.                 gen dT = 1 if state == "nc"|state =="ky"
{txt}(1,662 missing values generated)
{com}.                 recode dT (.=0)
{txt}(dT: 1662 changes made)
{com}.                 sort dT p1year
.                 set more off
.                 by dT p1year: sum phase2

{txt}{hline}
-> dT = 0, p1year = 2002

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        174     .454023    .4993185          0          1

{txt}{hline}
-> dT = 0, p1year = 2003

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        196     .505102    .5012543          0          1

{txt}{hline}
-> dT = 0, p1year = 2004

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        173    .4624277    .5000336          0          1

{txt}{hline}
-> dT = 0, p1year = 2005

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        159    .4716981    .5007756          0          1

{txt}{hline}
-> dT = 0, p1year = 2006

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        174    .4310345    .4966501          0          1

{txt}{hline}
-> dT = 0, p1year = 2007

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        189    .5185185    .5009841          0          1

{txt}{hline}
-> dT = 0, p1year = 2008

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        176    .4659091    .5002597          0          1

{txt}{hline}
-> dT = 0, p1year = 2009

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        214    .4065421    .4923396          0          1

{txt}{hline}
-> dT = 0, p1year = 2010

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        207    .3816425    .4869672          0          1

{txt}{hline}
-> dT = 1, p1year = 2002

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         75         .56    .4997297          0          1

{txt}{hline}
-> dT = 1, p1year = 2003

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         88          .5    .5028654          0          1

{txt}{hline}
-> dT = 1, p1year = 2004

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         99    .4343434     .498193          0          1

{txt}{hline}
-> dT = 1, p1year = 2005

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         66    .4848485    .5036001          0          1

{txt}{hline}
-> dT = 1, p1year = 2006

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         71    .3802817    .4889112          0          1

{txt}{hline}
-> dT = 1, p1year = 2007

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         79    .5189873     .502832          0          1

{txt}{hline}
-> dT = 1, p1year = 2008

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         91    .4835165    .5024968          0          1

{txt}{hline}
-> dT = 1, p1year = 2009

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         99    .4545455    .5004636          0          1

{txt}{hline}
-> dT = 1, p1year = 2010

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         92    .3369565    .4752599          0          1

{com}.                 by dT p1year: sum phase2 if p1prior_capacity < 6

{txt}{hline}
-> dT = 0, p1year = 2002

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        127     .480315     .501591          0          1

{txt}{hline}
-> dT = 0, p1year = 2003

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        124    .5887097    .4940639          0          1

{txt}{hline}
-> dT = 0, p1year = 2004

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         91    .5274725    .5020106          0          1

{txt}{hline}
-> dT = 0, p1year = 2005

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         85    .5176471     .502654          0          1

{txt}{hline}
-> dT = 0, p1year = 2006

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}        100         .39    .4902071          0          1

{txt}{hline}
-> dT = 0, p1year = 2007

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         80       .4875    .5029973          0          1

{txt}{hline}
-> dT = 0, p1year = 2008

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         67    .4776119    .5032684          0          1

{txt}{hline}
-> dT = 0, p1year = 2009

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         91    .4065934    .4939191          0          1

{txt}{hline}
-> dT = 0, p1year = 2010

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         95    .3684211    .4849354          0          1

{txt}{hline}
-> dT = 1, p1year = 2002

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         57    .4561404       .5025          0          1

{txt}{hline}
-> dT = 1, p1year = 2003

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         74          .5     .503413          0          1

{txt}{hline}
-> dT = 1, p1year = 2004

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         85    .4235294    .4970501          0          1

{txt}{hline}
-> dT = 1, p1year = 2005

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         52    .4807692    .5045046          0          1

{txt}{hline}
-> dT = 1, p1year = 2006

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         53    .3207547    .4712334          0          1

{txt}{hline}
-> dT = 1, p1year = 2007

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         55    .4909091     .504525          0          1

{txt}{hline}
-> dT = 1, p1year = 2008

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         67    .5074627    .5037175          0          1

{txt}{hline}
-> dT = 1, p1year = 2009

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         68    .4558824    .5017529          0          1

{txt}{hline}
-> dT = 1, p1year = 2010

    Variable {c |}        Obs        Mean    Std. Dev.       Min        Max
{hline 13}{c +}{hline 57}
{space 6}phase2 {c |}{res}         72    .3194444    .4695334          0          1

{com}.                 drop dT
. {c )-}       
{txt}
{com}.         
.         ***********************
.         ** Objective: Triple Difference
.         ** Manuscript: Discussed in section, 5.3 Robustness checks 
.         ** Results: Referenced in text of manuscript -- not reported
.         ***********************
. {c -(}
. ********************************************************************************
. *ROBUSTNESS* DDD (include agency in the analysis) 
. * 1.a NSF vs. Non-NSF
. * 1.b HHS vs. Non-HHS
. * 1.c NSF_HHS vs. Non-NSF_HHS
. ********************************************************************************
. preserve 
. drop if p1year == 2006
{txt}(245 observations deleted)
{com}. gen d2 = 1 if p1year > 2006
{txt}(1,030 missing values generated)
{com}. foreach x in nsf_hhs {c -(}
{txt}  2{com}. recode d2 (.=0)
{txt}  3{com}. label var d2 "Post-period"
{txt}  4{com}. gen dT = 1 if state=="nc"|state=="ky"
{txt}  5{com}. recode dT (.=0)
{txt}  6{com}. label variable dT "Treated state"
{txt}  7{com}. gen d`x' = 1 if agency == "nsf" | agency == "hhs"
{txt}  8{com}. recode d`x' (.=0)
{txt}  9{com}. label variable d`x' "SBIR `x'"
{txt} 10{com}. gen dT_d`x' = dT * d`x'
{txt} 11{com}. lab var dT_d`x' "State_`x'"
{txt} 12{com}. gen d2_d`x' = d2*d`x'
{txt} 13{com}. lab var d2_d`x' "Post_`x'"
{txt} 14{com}. gen d2_dT = d2*dT
{txt} 15{com}. lab var d2_dT "Non_`x' Policy Effect"
{txt} 16{com}. gen d2_dT_d`x' = d2*dT*d`x'
{txt} 17{com}. lab var d2_dT_d`x' "`x' Policy Effect"
{txt} 18{com}. br d2 dT d`x' dT_d`x' d2_d`x' d2_dT d2_dT_d`x'
{txt} 19{com}. global y phase2
{txt} 20{com}. drop if p1year < 2002
{txt} 21{com}. *global ddcontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full_impute emp1_impute 
. global ddcontrol WomanOwn_dum HUB_dum Minority_dum 
{txt} 22{com}. reg $y d2 dT d`x' dT_d`x' d2_d`x' d2_dT d2_dT_d`x' $ddcontrol, cluster(firm_id) 
{txt} 23{com}. outreg2 $y d2 dT d`x' dT_d`x' d2_d`x' d2_dT d2_dT_d`x' $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) replace addtext(Sample, Total*)
{txt} 24{com}. drop if p1prior_capacity > 5
{txt} 25{com}. reg $y d2 dT d`x' dT_d`x' d2_d`x' d2_dT d2_dT_d`x' $ddcontrol, cluster(firm_id) 
{txt} 26{com}. outreg2 $y d2 dT d`x' dT_d`x' d2_d`x' d2_dT d2_dT_d`x' $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, 5 Prior)
{txt} 27{com}. drop if p1prior_capacity > 3
{txt} 28{com}. reg $y d2 dT d2 dT d`x' dT_d`x' d2_d`x' d2_dT d2_dT_d`x' $ddcontrol, cluster(firm_id) 
{txt} 29{com}. outreg2 $y d2 dT d`x' dT_d`x' d2_d`x' d2_dT d2_dT_d`x' $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, 3 Prior)
{txt} 30{com}. drop if p1prior_capacity > 1
{txt} 31{com}. reg $y d2 dT d`x' dT_d`x' d2_d`x' d2_dT d2_dT_d`x' $ddcontrol, cluster(firm_id) 
{txt} 32{com}. outreg2 $y d2 dT d`x' dT_d`x' d2_d`x' d2_dT d2_dT_d`x' $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, 1 Prior)
{txt} 33{com}. {c )-}
{txt}(d2: 1030 changes made)
(1,488 missing values generated)
(dT: 1488 changes made)
(1,342 missing values generated)
(dnsf_hhs: 1342 changes made)
(0 observations deleted)

Linear regression                               Number of obs     = {res}     2,177
                                                {txt}F(10, 641)        =  {res}     3.93
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.0183
                                                {txt}Root MSE          =    {res} .49504

{txt}{ralign 80:(Std. Err. adjusted for {res:642} clusters in firm_id)}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}        phase2{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}d2 {c |}{col 16}{res}{space 2} .0041259{col 28}{space 2} .0307426{col 39}{space 1}    0.13{col 48}{space 3}0.893{col 56}{space 4}-.0562424{col 69}{space 3} .0644942
{txt}{space 12}dT {c |}{col 16}{res}{space 2}-.0339219{col 28}{space 2} .0484567{col 39}{space 1}   -0.70{col 48}{space 3}0.484{col 56}{space 4}-.1290748{col 69}{space 3} .0612311
{txt}{space 6}dnsf_hhs {c |}{col 16}{res}{space 2}-.0738947{col 28}{space 2} .0402191{col 39}{space 1}   -1.84{col 48}{space 3}0.067{col 56}{space 4}-.1528719{col 69}{space 3} .0050825
{txt}{space 3}dT_dnsf_hhs {c |}{col 16}{res}{space 2} .1199869{col 28}{space 2} .0687673{col 39}{space 1}    1.74{col 48}{space 3}0.081{col 56}{space 4}-.0150494{col 69}{space 3} .2550232
{txt}{space 3}d2_dnsf_hhs {c |}{col 16}{res}{space 2}-.1557442{col 28}{space 2} .0577994{col 39}{space 1}   -2.69{col 48}{space 3}0.007{col 56}{space 4}-.2692432{col 69}{space 3}-.0422452
{txt}{space 9}d2_dT {c |}{col 16}{res}{space 2}-.0166816{col 28}{space 2} .0642743{col 39}{space 1}   -0.26{col 48}{space 3}0.795{col 56}{space 4}-.1428951{col 69}{space 3}  .109532
{txt}d2_dT_dnsf_hhs {c |}{col 16}{res}{space 2} .1053151{col 28}{space 2} .0951394{col 39}{space 1}    1.11{col 48}{space 3}0.269{col 56}{space 4}-.0815075{col 69}{space 3} .2921377
{txt}{space 2}WomanOwn_dum {c |}{col 16}{res}{space 2}  .001435{col 28}{space 2} .0534261{col 39}{space 1}    0.03{col 48}{space 3}0.979{col 56}{space 4}-.1034762{col 69}{space 3} .1063463
{txt}{space 7}HUB_dum {c |}{col 16}{res}{space 2}-.0271273{col 28}{space 2} .0849192{col 39}{space 1}   -0.32{col 48}{space 3}0.749{col 56}{space 4}-.1938807{col 69}{space 3} .1396261
{txt}{space 2}Minority_dum {c |}{col 16}{res}{space 2}-.0492831{col 28}{space 2} .0541252{col 39}{space 1}   -0.91{col 48}{space 3}0.363{col 56}{space 4}-.1555673{col 69}{space 3} .0570011
{txt}{space 9}_cons {c |}{col 16}{res}{space 2} .4982179{col 28}{space 2}  .027369{col 39}{space 1}   18.20{col 48}{space 3}0.000{col 56}{space 4} .4444741{col 69}{space 3} .5519617
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
(887 observations deleted)

Linear regression                               Number of obs     = {res}     1,290
                                                {txt}F(10, 626)        =  {res}     3.48
                                                {txt}Prob > F          = {res}    0.0002
                                                {txt}R-squared         = {res}    0.0247
                                                {txt}Root MSE          =    {res}  .4951

{txt}{ralign 80:(Std. Err. adjusted for {res:627} clusters in firm_id)}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}        phase2{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}d2 {c |}{col 16}{res}{space 2}-.0270641{col 28}{space 2} .0510732{col 39}{space 1}   -0.53{col 48}{space 3}0.596{col 56}{space 4}-.1273598{col 69}{space 3} .0732315
{txt}{space 12}dT {c |}{col 16}{res}{space 2}-.0972596{col 28}{space 2} .0535916{col 39}{space 1}   -1.81{col 48}{space 3}0.070{col 56}{space 4}-.2025007{col 69}{space 3} .0079816
{txt}{space 6}dnsf_hhs {c |}{col 16}{res}{space 2}-.0547612{col 28}{space 2}  .049362{col 39}{space 1}   -1.11{col 48}{space 3}0.268{col 56}{space 4}-.1516965{col 69}{space 3}  .042174
{txt}{space 3}dT_dnsf_hhs {c |}{col 16}{res}{space 2} .0798983{col 28}{space 2} .0755117{col 39}{space 1}    1.06{col 48}{space 3}0.290{col 56}{space 4}-.0683886{col 69}{space 3} .2281853
{txt}{space 3}d2_dnsf_hhs {c |}{col 16}{res}{space 2}-.1907146{col 28}{space 2} .0741786{col 39}{space 1}   -2.57{col 48}{space 3}0.010{col 56}{space 4}-.3363837{col 69}{space 3}-.0450456
{txt}{space 9}d2_dT {c |}{col 16}{res}{space 2}-.0089887{col 28}{space 2} .0801868{col 39}{space 1}   -0.11{col 48}{space 3}0.911{col 56}{space 4}-.1664564{col 69}{space 3} .1484789
{txt}d2_dT_dnsf_hhs {c |}{col 16}{res}{space 2} .2087329{col 28}{space 2} .1108464{col 39}{space 1}    1.88{col 48}{space 3}0.060{col 56}{space 4}-.0089429{col 69}{space 3} .4264088
{txt}{space 2}WomanOwn_dum {c |}{col 16}{res}{space 2}-.0529273{col 28}{space 2} .0496829{col 39}{space 1}   -1.07{col 48}{space 3}0.287{col 56}{space 4}-.1504926{col 69}{space 3}  .044638
{txt}{space 7}HUB_dum {c |}{col 16}{res}{space 2} .0553757{col 28}{space 2} .0974519{col 39}{space 1}    0.57{col 48}{space 3}0.570{col 56}{space 4}-.1359965{col 69}{space 3} .2467478
{txt}{space 2}Minority_dum {c |}{col 16}{res}{space 2}-.0513669{col 28}{space 2} .0556917{col 39}{space 1}   -0.92{col 48}{space 3}0.357{col 56}{space 4}-.1607321{col 69}{space 3} .0579983
{txt}{space 9}_cons {c |}{col 16}{res}{space 2} .5531355{col 28}{space 2} .0323906{col 39}{space 1}   17.08{col 48}{space 3}0.000{col 56}{space 4}  .489528{col 69}{space 3} .6167429
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
(172 observations deleted)
note: d2 omitted because of collinearity
note: dT omitted because of collinearity

Linear regression                               Number of obs     = {res}     1,118
                                                {txt}F(10, 615)        =  {res}     2.98
                                                {txt}Prob > F          = {res}    0.0011
                                                {txt}R-squared         = {res}    0.0230
                                                {txt}Root MSE          =    {res} .49605

{txt}{ralign 80:(Std. Err. adjusted for {res:616} clusters in firm_id)}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}        phase2{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}d2 {c |}{col 16}{res}{space 2} .0040511{col 28}{space 2} .0543409{col 39}{space 1}    0.07{col 48}{space 3}0.941{col 56}{space 4}-.1026651{col 69}{space 3} .1107674
{txt}{space 12}dT {c |}{col 16}{res}{space 2}-.0575267{col 28}{space 2} .0588788{col 39}{space 1}   -0.98{col 48}{space 3}0.329{col 56}{space 4}-.1731546{col 69}{space 3} .0581012
{txt}{space 12}d2 {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 12}dT {c |}{col 16}{res}{space 2}        0{col 28}{txt}  (omitted)
{space 6}dnsf_hhs {c |}{col 16}{res}{space 2}-.0339108{col 28}{space 2} .0536749{col 39}{space 1}   -0.63{col 48}{space 3}0.528{col 56}{space 4}-.1393191{col 69}{space 3} .0714975
{txt}{space 3}dT_dnsf_hhs {c |}{col 16}{res}{space 2} .0340906{col 28}{space 2}   .08327{col 39}{space 1}    0.41{col 48}{space 3}0.682{col 56}{space 4}-.1294374{col 69}{space 3} .1976186
{txt}{space 3}d2_dnsf_hhs {c |}{col 16}{res}{space 2}-.2218102{col 28}{space 2} .0804183{col 39}{space 1}   -2.76{col 48}{space 3}0.006{col 56}{space 4}-.3797381{col 69}{space 3}-.0638824
{txt}{space 9}d2_dT {c |}{col 16}{res}{space 2} -.063721{col 28}{space 2} .0890944{col 39}{space 1}   -0.72{col 48}{space 3}0.475{col 56}{space 4}-.2386871{col 69}{space 3} .1112451
{txt}d2_dT_dnsf_hhs {c |}{col 16}{res}{space 2} .2594938{col 28}{space 2} .1225619{col 39}{space 1}    2.12{col 48}{space 3}0.035{col 56}{space 4} .0188032{col 69}{space 3} .5001843
{txt}{space 2}WomanOwn_dum {c |}{col 16}{res}{space 2}-.0832035{col 28}{space 2}  .056404{col 39}{space 1}   -1.48{col 48}{space 3}0.141{col 56}{space 4}-.1939714{col 69}{space 3} .0275643
{txt}{space 7}HUB_dum {c |}{col 16}{res}{space 2} .0469693{col 28}{space 2} .0874933{col 39}{space 1}    0.54{col 48}{space 3}0.592{col 56}{space 4}-.1248525{col 69}{space 3} .2187911
{txt}{space 2}Minority_dum {c |}{col 16}{res}{space 2}-.0439379{col 28}{space 2} .0578298{col 39}{space 1}   -0.76{col 48}{space 3}0.448{col 56}{space 4}-.1575056{col 69}{space 3} .0696299
{txt}{space 9}_cons {c |}{col 16}{res}{space 2} .5411737{col 28}{space 2} .0338013{col 39}{space 1}   16.01{col 48}{space 3}0.000{col 56}{space 4} .4747937{col 69}{space 3} .6075538
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
(271 observations deleted)

Linear regression                               Number of obs     = {res}       847
                                                {txt}F(10, 578)        =  {res}     2.26
                                                {txt}Prob > F          = {res}    0.0136
                                                {txt}R-squared         = {res}    0.0241
                                                {txt}Root MSE          =    {res} .49619

{txt}{ralign 80:(Std. Err. adjusted for {res:579} clusters in firm_id)}
{hline 15}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 16}{c |}{col 28}    Robust
{col 1}        phase2{col 16}{c |}      Coef.{col 28}   Std. Err.{col 40}      t{col 48}   P>|t|{col 56}     [95% Con{col 69}f. Interval]
{hline 15}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}d2 {c |}{col 16}{res}{space 2} .0402931{col 28}{space 2} .0617019{col 39}{space 1}    0.65{col 48}{space 3}0.514{col 56}{space 4}-.0808941{col 69}{space 3} .1614803
{txt}{space 12}dT {c |}{col 16}{res}{space 2}-.0396659{col 28}{space 2} .0673854{col 39}{space 1}   -0.59{col 48}{space 3}0.556{col 56}{space 4} -.172016{col 69}{space 3} .0926841
{txt}{space 6}dnsf_hhs {c |}{col 16}{res}{space 2}-.0698421{col 28}{space 2} .0650909{col 39}{space 1}   -1.07{col 48}{space 3}0.284{col 56}{space 4}-.1976856{col 69}{space 3} .0580014
{txt}{space 3}dT_dnsf_hhs {c |}{col 16}{res}{space 2} .0590518{col 28}{space 2} .0956958{col 39}{space 1}    0.62{col 48}{space 3}0.537{col 56}{space 4}-.1289021{col 69}{space 3} .2470056
{txt}{space 3}d2_dnsf_hhs {c |}{col 16}{res}{space 2}-.2051333{col 28}{space 2} .0963497{col 39}{space 1}   -2.13{col 48}{space 3}0.034{col 56}{space 4}-.3943715{col 69}{space 3}-.0158951
{txt}{space 9}d2_dT {c |}{col 16}{res}{space 2}-.1020018{col 28}{space 2} .0999783{col 39}{space 1}   -1.02{col 48}{space 3}0.308{col 56}{space 4}-.2983668{col 69}{space 3} .0943633
{txt}d2_dT_dnsf_hhs {c |}{col 16}{res}{space 2}  .273534{col 28}{space 2} .1392939{col 39}{space 1}    1.96{col 48}{space 3}0.050{col 56}{space 4}-.0000499{col 69}{space 3}  .547118
{txt}{space 2}WomanOwn_dum {c |}{col 16}{res}{space 2}-.1190616{col 28}{space 2} .0593735{col 39}{space 1}   -2.01{col 48}{space 3}0.045{col 56}{space 4}-.2356758{col 69}{space 3}-.0024474
{txt}{space 7}HUB_dum {c |}{col 16}{res}{space 2} .0395705{col 28}{space 2} .1253506{col 39}{space 1}    0.32{col 48}{space 3}0.752{col 56}{space 4}-.2066276{col 69}{space 3} .2857686
{txt}{space 2}Minority_dum {c |}{col 16}{res}{space 2}-.0208422{col 28}{space 2} .0629589{col 39}{space 1}   -0.33{col 48}{space 3}0.741{col 56}{space 4}-.1444983{col 69}{space 3} .1028138
{txt}{space 9}_cons {c |}{col 16}{res}{space 2} .5268568{col 28}{space 2} .0402671{col 39}{space 1}   13.08{col 48}{space 3}0.000{col 56}{space 4} .4477692{col 69}{space 3} .6059445
{txt}{hline 15}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}. restore
. 
. ********************************************************************************
. *ROBUSTNESS* DDD (include innovative activity in the analysis) 
. * 2.a 5 Prior vs. More than 5
. * 2.b 3 Prior vs. More than 3
. * 2.c 1 Prior vs. More than 1
. * note drop mills
. ********************************************************************************
. preserve 
. drop if p1year == 2006
{txt}(245 observations deleted)
{com}. drop if p1prior_capacity > 30
{txt}(385 observations deleted)
{com}. foreach x in 5 {c -(}
{txt}  2{com}. gen dprior = 1 if p1prior_capacity < 6
{txt}  3{com}. recode dprior (.=0)
{txt}  4{com}. lab var dprior "`x' Prior SBIR"
{txt}  5{com}. gen d2 = 1 if p1year > 2006
{txt}  6{com}. recode d2 (.=0)
{txt}  7{com}. label var d2 "Post-period"
{txt}  8{com}. gen dT = 1 if state=="nc"|state=="ky"
{txt}  9{com}. recode dT (.=0)
{txt} 10{com}. label variable dT "Treated state"
{txt} 11{com}. gen dT_dprior = dT * dprior
{txt} 12{com}. lab var dT_dprior "State_Prior SBIR"
{txt} 13{com}. gen d2_dprior = d2*dprior
{txt} 14{com}. lab var d2_dprior "Post_Prior SBIR"
{txt} 15{com}. gen d2_dT = d2*dT
{txt} 16{com}. lab var d2_dT "Policy Effect: More than `x' Prior"
{txt} 17{com}. gen d2_dT_dprior = d2*dT*dprior
{txt} 18{com}. lab var d2_dT_dprior "Policy Effect: `x' or Less Prior"
{txt} 19{com}. br d2 dT dprior dT_dprior d2_dprior d2_dT d2_dT_dprior
{txt} 20{com}. global y phase2
{txt} 21{com}. drop if p1year < 2002
{txt} 22{com}. ** prior capacity: full; 5 (~65% of sample); 2 (~52% of sample); 0 (~33% of sample)
. global ddcontrol WomanOwn_dum HUB_dum Minority_dum 
{txt} 23{com}. reg $y d2 dT dprior dT_dprior d2_dprior d2_dT d2_dT_dprior $ddcontrol, cluster(firm_id) 
{txt} 24{com}. outreg2 $y d2 dT dprior dT_dprior d2_dprior d2_dT d2_dT_dprior $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) replace addtext(Sample, Total*)
{txt} 25{com}. reg $y d2 dT dprior dT_dprior d2_dprior d2_dT d2_dT_dprior $ddcontrol if agency == "dod", cluster(firm_id) 
{txt} 26{com}. outreg2 $y d2 dT dprior dT_dprior d2_dprior d2_dT d2_dT_dprior $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, DOD)
{txt} 27{com}. reg $y d2 dT dprior dT_dprior d2_dprior d2_dT d2_dT_dprior $ddcontrol if agency == "hhs", cluster(firm_id) 
{txt} 28{com}. outreg2 $y d2 dT dprior dT_dprior d2_dprior d2_dT d2_dT_dprior $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS)
{txt} 29{com}. reg $y d2 dT dprior dT_dprior d2_dprior d2_dT d2_dT_dprior $ddcontrol if agency == "nsf", cluster(firm_id) 
{txt} 30{com}. outreg2 $y d2 dT dprior dT_dprior d2_dprior d2_dT d2_dT_dprior $ddcontrol using "$dir/Results/DD output.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF)
{txt} 31{com}. {c )-}
{txt}(502 missing values generated)
(dprior: 502 changes made)
(882 missing values generated)
(d2: 882 changes made)
(1,103 missing values generated)
(dT: 1103 changes made)
(0 observations deleted)

Linear regression                               Number of obs     = {res}     1,792
                                                {txt}F(10, 640)        =  {res}     2.03
                                                {txt}Prob > F          = {res}    0.0286
                                                {txt}R-squared         = {res}    0.0127
                                                {txt}Root MSE          =    {res} .49716

{txt}{ralign 78:(Std. Err. adjusted for {res:641} clusters in firm_id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}      phase2{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 10}d2 {c |}{col 14}{res}{space 2} .1034603{col 26}{space 2} .0782472{col 37}{space 1}    1.32{col 46}{space 3}0.187{col 54}{space 4} -.050192{col 67}{space 3} .2571126
{txt}{space 10}dT {c |}{col 14}{res}{space 2} .2624489{col 26}{space 2} .0941324{col 37}{space 1}    2.79{col 46}{space 3}0.005{col 54}{space 4} .0776032{col 67}{space 3} .4472947
{txt}{space 6}dprior {c |}{col 14}{res}{space 2} .1798125{col 26}{space 2} .0706557{col 37}{space 1}    2.54{col 46}{space 3}0.011{col 54}{space 4} .0410674{col 67}{space 3} .3185576
{txt}{space 3}dT_dprior {c |}{col 14}{res}{space 2}-.3299026{col 26}{space 2} .1022823{col 37}{space 1}   -3.23{col 46}{space 3}0.001{col 54}{space 4} -.530752{col 67}{space 3}-.1290532
{txt}{space 3}d2_dprior {c |}{col 14}{res}{space 2}-.2022618{col 26}{space 2} .0904439{col 37}{space 1}   -2.24{col 46}{space 3}0.026{col 54}{space 4}-.3798643{col 67}{space 3}-.0246592
{txt}{space 7}d2_dT {c |}{col 14}{res}{space 2}-.2537116{col 26}{space 2} .1224151{col 37}{space 1}   -2.07{col 46}{space 3}0.039{col 54}{space 4}-.4940954{col 67}{space 3}-.0133278
{txt}d2_dT_dprior {c |}{col 14}{res}{space 2} .3300028{col 26}{space 2} .1374902{col 37}{space 1}    2.40{col 46}{space 3}0.017{col 54}{space 4} .0600164{col 67}{space 3} .5999892
{txt}WomanOwn_dum {c |}{col 14}{res}{space 2}-.0128501{col 26}{space 2} .0569809{col 37}{space 1}   -0.23{col 46}{space 3}0.822{col 54}{space 4}-.1247422{col 67}{space 3} .0990419
{txt}{space 5}HUB_dum {c |}{col 14}{res}{space 2}-.0209539{col 26}{space 2} .0764148{col 37}{space 1}   -0.27{col 46}{space 3}0.784{col 54}{space 4} -.171008{col 67}{space 3} .1291002
{txt}Minority_dum {c |}{col 14}{res}{space 2}-.0549712{col 26}{space 2} .0543471{col 37}{space 1}   -1.01{col 46}{space 3}0.312{col 54}{space 4}-.1616914{col 67}{space 3} .0517489
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .3544319{col 26}{space 2} .0669211{col 37}{space 1}    5.30{col 46}{space 3}0.000{col 54}{space 4} .2230204{col 67}{space 3} .4858434
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}

Linear regression                               Number of obs     = {res}       683
                                                {txt}F(10, 254)        =  {res}     1.32
                                                {txt}Prob > F          = {res}    0.2217
                                                {txt}R-squared         = {res}    0.0163
                                                {txt}Root MSE          =    {res} .49936

{txt}{ralign 78:(Std. Err. adjusted for {res:255} clusters in firm_id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}      phase2{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 10}d2 {c |}{col 14}{res}{space 2} .1618555{col 26}{space 2}  .102111{col 37}{space 1}    1.59{col 46}{space 3}0.114{col 54}{space 4}-.0392365{col 67}{space 3} .3629474
{txt}{space 10}dT {c |}{col 14}{res}{space 2} .2886277{col 26}{space 2} .1161515{col 37}{space 1}    2.48{col 46}{space 3}0.014{col 54}{space 4}  .059885{col 67}{space 3} .5173703
{txt}{space 6}dprior {c |}{col 14}{res}{space 2} .1640175{col 26}{space 2} .0860428{col 37}{space 1}    1.91{col 46}{space 3}0.058{col 54}{space 4}-.0054308{col 67}{space 3} .3334657
{txt}{space 3}dT_dprior {c |}{col 14}{res}{space 2}-.3189726{col 26}{space 2}   .13722{col 37}{space 1}   -2.32{col 46}{space 3}0.021{col 54}{space 4}-.5892064{col 67}{space 3}-.0487389
{txt}{space 3}d2_dprior {c |}{col 14}{res}{space 2}-.1767606{col 26}{space 2} .1201151{col 37}{space 1}   -1.47{col 46}{space 3}0.142{col 54}{space 4} -.413309{col 67}{space 3} .0597878
{txt}{space 7}d2_dT {c |}{col 14}{res}{space 2}-.3804789{col 26}{space 2} .1408267{col 37}{space 1}   -2.70{col 46}{space 3}0.007{col 54}{space 4}-.6578157{col 67}{space 3}-.1031422
{txt}d2_dT_dprior {c |}{col 14}{res}{space 2}  .328967{col 26}{space 2} .1799674{col 37}{space 1}    1.83{col 46}{space 3}0.069{col 54}{space 4}-.0254513{col 67}{space 3} .6833853
{txt}WomanOwn_dum {c |}{col 14}{res}{space 2}-.0281613{col 26}{space 2}  .085253{col 37}{space 1}   -0.33{col 46}{space 3}0.741{col 54}{space 4} -.196054{col 67}{space 3} .1397315
{txt}{space 5}HUB_dum {c |}{col 14}{res}{space 2}-.1072051{col 26}{space 2} .0942199{col 37}{space 1}   -1.14{col 46}{space 3}0.256{col 54}{space 4}-.2927568{col 67}{space 3} .0783465
{txt}Minority_dum {c |}{col 14}{res}{space 2}-.0967156{col 26}{space 2} .0835592{col 37}{space 1}   -1.16{col 46}{space 3}0.248{col 54}{space 4}-.2612727{col 67}{space 3} .0678415
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}   .40368{col 26}{space 2} .0783652{col 37}{space 1}    5.15{col 46}{space 3}0.000{col 54}{space 4} .2493516{col 67}{space 3} .5580084
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}

Linear regression                               Number of obs     = {res}       612
                                                {txt}F(10, 241)        =  {res}     5.65
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.0642
                                                {txt}Root MSE          =    {res} .48301

{txt}{ralign 78:(Std. Err. adjusted for {res:242} clusters in firm_id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}      phase2{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 10}d2 {c |}{col 14}{res}{space 2}-.0902278{col 26}{space 2} .0985821{col 37}{space 1}   -0.92{col 46}{space 3}0.361{col 54}{space 4}-.2844204{col 67}{space 3} .1039647
{txt}{space 10}dT {c |}{col 14}{res}{space 2} .3754831{col 26}{space 2} .1172532{col 37}{space 1}    3.20{col 46}{space 3}0.002{col 54}{space 4} .1445111{col 67}{space 3} .6064552
{txt}{space 6}dprior {c |}{col 14}{res}{space 2}  .263632{col 26}{space 2} .0965338{col 37}{space 1}    2.73{col 46}{space 3}0.007{col 54}{space 4} .0734744{col 67}{space 3} .4537897
{txt}{space 3}dT_dprior {c |}{col 14}{res}{space 2}-.4087043{col 26}{space 2}  .131814{col 37}{space 1}   -3.10{col 46}{space 3}0.002{col 54}{space 4}-.6683589{col 67}{space 3}-.1490496
{txt}{space 3}d2_dprior {c |}{col 14}{res}{space 2}-.1579071{col 26}{space 2} .1163921{col 37}{space 1}   -1.36{col 46}{space 3}0.176{col 54}{space 4}-.3871828{col 67}{space 3} .0713686
{txt}{space 7}d2_dT {c |}{col 14}{res}{space 2}-.1100738{col 26}{space 2} .1501964{col 37}{space 1}   -0.73{col 46}{space 3}0.464{col 54}{space 4}-.4059391{col 67}{space 3} .1857915
{txt}d2_dT_dprior {c |}{col 14}{res}{space 2} .3260162{col 26}{space 2} .1727467{col 37}{space 1}    1.89{col 46}{space 3}0.060{col 54}{space 4}  -.01427{col 67}{space 3} .6663023
{txt}WomanOwn_dum {c |}{col 14}{res}{space 2} .1042248{col 26}{space 2} .0710744{col 37}{space 1}    1.47{col 46}{space 3}0.144{col 54}{space 4}-.0357814{col 67}{space 3} .2442311
{txt}{space 5}HUB_dum {c |}{col 14}{res}{space 2} .0802319{col 26}{space 2}  .114958{col 37}{space 1}    0.70{col 46}{space 3}0.486{col 54}{space 4}-.1462188{col 67}{space 3} .3066826
{txt}Minority_dum {c |}{col 14}{res}{space 2} .0633051{col 26}{space 2} .1100978{col 37}{space 1}    0.57{col 46}{space 3}0.566{col 54}{space 4}-.1535718{col 67}{space 3} .2801821
{txt}{space 7}_cons {c |}{col 14}{res}{space 2}      .25{col 26}{space 2} .0863026{col 37}{space 1}    2.90{col 46}{space 3}0.004{col 54}{space 4} .0799962{col 67}{space 3} .4200038
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}

Linear regression                               Number of obs     = {res}       176
                                                {txt}{help j_robustsingular:F(8, 122) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.0780
                                                {txt}Root MSE          =    {res} .47862

{txt}{ralign 78:(Std. Err. adjusted for {res:123} clusters in firm_id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}      phase2{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 10}d2 {c |}{col 14}{res}{space 2}-.5333333{col 26}{space 2} .1877004{col 37}{space 1}   -2.84{col 46}{space 3}0.005{col 54}{space 4} -.904905{col 67}{space 3}-.1617616
{txt}{space 10}dT {c |}{col 14}{res}{space 2} .3333333{col 26}{space 2} .1624883{col 37}{space 1}    2.05{col 46}{space 3}0.042{col 54}{space 4} .0116715{col 67}{space 3} .6549952
{txt}{space 6}dprior {c |}{col 14}{res}{space 2}-.2378001{col 26}{space 2} .1753327{col 37}{space 1}   -1.36{col 46}{space 3}0.178{col 54}{space 4}-.5848887{col 67}{space 3} .1092885
{txt}{space 3}dT_dprior {c |}{col 14}{res}{space 2}-.3690508{col 26}{space 2} .1965571{col 37}{space 1}   -1.88{col 46}{space 3}0.063{col 54}{space 4}-.7581553{col 67}{space 3} .0200536
{txt}{space 3}d2_dprior {c |}{col 14}{res}{space 2} .3728503{col 26}{space 2} .2148696{col 37}{space 1}    1.74{col 46}{space 3}0.085{col 54}{space 4}-.0525055{col 67}{space 3}  .798206
{txt}{space 7}d2_dT {c |}{col 14}{res}{space 2}-.2666667{col 26}{space 2} .2432771{col 37}{space 1}   -1.10{col 46}{space 3}0.275{col 54}{space 4} -.748258{col 67}{space 3} .2149247
{txt}d2_dT_dprior {c |}{col 14}{res}{space 2} .4742044{col 26}{space 2} .2940366{col 37}{space 1}    1.61{col 46}{space 3}0.109{col 54}{space 4}-.1078705{col 67}{space 3} 1.056279
{txt}WomanOwn_dum {c |}{col 14}{res}{space 2}-.0735436{col 26}{space 2} .0998397{col 37}{space 1}   -0.74{col 46}{space 3}0.463{col 54}{space 4}-.2711862{col 67}{space 3}  .124099
{txt}{space 5}HUB_dum {c |}{col 14}{res}{space 2} .0722994{col 26}{space 2} .2257691{col 37}{space 1}    0.32{col 46}{space 3}0.749{col 54}{space 4}-.3746332{col 67}{space 3} .5192319
{txt}Minority_dum {c |}{col 14}{res}{space 2} .5597963{col 26}{space 2} .0748257{col 37}{space 1}    7.48{col 46}{space 3}0.000{col 54}{space 4} .4116714{col 67}{space 3} .7079212
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .6666667{col 26}{space 2} .1624883{col 37}{space 1}    4.10{col 46}{space 3}0.000{col 54}{space 4} .3450048{col 67}{space 3} .9883285
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output.txt", label"':seeout}
{com}. restore
. {c )-}
{txt}
{com}. 
.         ***********************
.         ** Objective: Propensity Matching Score 
.         ** Manuscript: Discussed in section, 5.3 Robustness checks 
.         ** Results: Referenced in text of manuscript -- not reported
.         ***********************
. {c -(}       
. *Observed variables: firm_age, Woman Owned, HUBZone, Minority, SBIR capacity, employment, agency
. 
. ** ttest for treated and control groups **
. global observed yr_est_full WomanOwn_dum HUB_dum Minority_dum p1prior_capacity emp1_impute dod nsf hhs
. preserve
. keep if cohort == 1
{txt}(1,899 observations deleted)
{com}. drop if p1year < 2002
{txt}(0 observations deleted)
{com}. keep if p1prior_capacity < 6
{txt}(105 observations deleted)
{com}. keep if agency == "nsf" 
{txt}(343 observations deleted)
{com}. *drop if p1year == 2006
. gen d2 = 1 if p1year > 2006
{txt}(43 missing values generated)
{com}. recode d2 (.=0)
{txt}(d2: 43 changes made)
{com}. label var d2 "Post-period"
. gen dT = 1 if state == "ky"
{txt}(53 missing values generated)
{com}. recode dT (.=0)
{txt}(dT: 53 changes made)
{com}. label variable dT "Treated state"
. gen d2_dT = d2*dT
. lab var d2_dT "Policy Effect"
. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. foreach x in $observed {c -(}
{txt}  2{com}. set more off
{txt}  3{com}. di "T-test of means for `x'"
{txt}  4{com}. ttest `x', by(d2_dT) unequal
{txt}  5{com}. matrix m1 = m1\(r(mu_1)\r(sd_1))
{txt}  6{com}. matrix m2 = m2\ (r(mu_2)\r(sd_2))
{txt}  7{com}. matrix m3 = m3\(r(t)\.)
{txt}  8{com}. {c )-}
T-test of means for yr_est_full

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     61{col 22} 2000.377{col 34} .7788754{col 46} 6.083212{col 58} 1998.819{col 70} 2001.935
       {txt}1 {c |}{res}{col 12}     14{col 22} 1995.286{col 34} 7.654941{col 46} 28.64217{col 58} 1978.748{col 70} 2011.823
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     75{col 22} 1999.427{col 34} 1.541051{col 46} 13.34589{col 58} 1996.356{col 70} 2002.497
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} 5.091335{col 34} 7.694463{col 58}-11.49719{col 70} 21.67986
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.6617
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 13.2703

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.7403         {txt}Pr(|T| > |t|) = {res}0.5195          {txt}Pr(T > t) = {res}0.2597
T-test of means for WomanOwn_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     61{col 22} .1147541{col 34} .0411472{col 46}   .32137{col 58} .0324474{col 70} .1970608
       {txt}1 {c |}{res}{col 12}     14{col 22} .0714286{col 34} .0714286{col 46} .2672612{col 58}-.0828835{col 70} .2257406
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     75{col 22} .1066667{col 34} .0358844{col 46} .3107677{col 58} .0351655{col 70} .1781678
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .0433255{col 34} .0824326{col 58}-.1273997{col 70} .2140508
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  0.5256
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 22.5222

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.6978         {txt}Pr(|T| > |t|) = {res}0.6043          {txt}Pr(T > t) = {res}0.3022
T-test of means for HUB_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     61{col 22} .0327869{col 34} .0229898{col 46} .1795562{col 58}-.0131996{col 70} .0787734
       {txt}1 {c |}{res}{col 12}     14{col 22} .0714286{col 34} .0714286{col 46} .2672612{col 58}-.0828835{col 70} .2257406
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     75{col 22}      .04{col 34} .0227798{col 46} .1972788{col 58}-.0053897{col 70} .0853897
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.0386417{col 34} .0750371{col 58}-.1978803{col 70} .1205969
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.5150
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 15.7962

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.3069         {txt}Pr(|T| > |t|) = {res}0.6137          {txt}Pr(T > t) = {res}0.6931
T-test of means for Minority_dum

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     61{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
       {txt}1 {c |}{res}{col 12}     14{col 22} .1428571{col 34} .0970523{col 46} .3631365{col 58}-.0668116{col 70} .3525259
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     75{col 22} .0266667{col 34} .0187283{col 46} .1621922{col 58}-.0106504{col 70} .0639837
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-.1428571{col 34} .0970523{col 58}-.3525259{col 70} .0668116
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -1.4720
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}      13

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.0824         {txt}Pr(|T| > |t|) = {res}0.1648          {txt}Pr(T > t) = {res}0.9176
T-test of means for p1prior_capacity

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     61{col 22} 1.262295{col 34}  .199592{col 46} 1.558863{col 58} .8630517{col 70} 1.661538
       {txt}1 {c |}{res}{col 12}     14{col 22} .5714286{col 34}  .291157{col 46}  1.08941{col 58}-.0575778{col 70} 1.200435
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     75{col 22} 1.133333{col 34} .1732917{col 46} 1.500751{col 58}  .788042{col 70} 1.478625
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22} .6908665{col 34} .3530005{col 58}-.0336755{col 70} 1.415409
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}  1.9571
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 26.8064

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.9696         {txt}Pr(|T| > |t|) = {res}0.0608          {txt}Pr(T > t) = {res}0.0304
T-test of means for emp1_impute

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     61{col 22} 12.68689{col 34} 3.902001{col 46}  30.4756{col 58} 4.881721{col 70} 20.49205
       {txt}1 {c |}{res}{col 12}     14{col 22} 13.88286{col 34} 7.127785{col 46} 26.66973{col 58}-1.515786{col 70}  29.2815
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     75{col 22} 12.91013{col 34} 3.421937{col 46} 29.63485{col 58} 6.091774{col 70} 19.72849
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}-1.195972{col 34} 8.125942{col 58}-18.06902{col 70} 15.67708
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res} -0.1472
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res} 21.5402

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}0.4422         {txt}Pr(|T| > |t|) = {res}0.8844          {txt}Pr(T > t) = {res}0.5578
T-test of means for dod

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     61{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
       {txt}1 {c |}{res}{col 12}     14{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     75{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}        0{col 34}        0{col 58}        .{col 70}        .
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}       .
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}       .

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}     .         {txt}Pr(|T| > |t|) = {res}     .          {txt}Pr(T > t) = {res}     .
T-test of means for nsf

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     61{col 22}        1{col 34}        0{col 46}        0{col 58}        1{col 70}        1
       {txt}1 {c |}{res}{col 12}     14{col 22}        1{col 34}        0{col 46}        0{col 58}        1{col 70}        1
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     75{col 22}        1{col 34}        0{col 46}        0{col 58}        1{col 70}        1
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}        0{col 34}        0{col 58}        .{col 70}        .
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}       .
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}       .

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}     .         {txt}Pr(|T| > |t|) = {res}     .          {txt}Pr(T > t) = {res}     .
T-test of means for hhs

{txt}Two-sample t test with unequal variances
{hline 9}{c TT}{hline 68}
   Group{col 10}{c |}{col 16}Obs{col 27}Mean{col 35}Std. Err.{col 47}Std. Dev.{col 59}[95% Conf. Interval]
{hline 9}{c +}{hline 68}
       0 {c |}{res}{col 12}     61{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
       {txt}1 {c |}{res}{col 12}     14{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
{txt}{hline 9}{c +}{hline 68}
combined {c |}{res}{col 12}     75{col 22}        0{col 34}        0{col 46}        0{col 58}        0{col 70}        0
{txt}{hline 9}{c +}{hline 68}
    diff {c |}{res}{col 22}        0{col 34}        0{col 58}        .{col 70}        .
{txt}{hline 9}{c BT}{hline 68}
    diff = mean({res}0{txt}) - mean({res}1{txt})                                      t = {res}       .
{txt}Ho: diff = 0                     Satterthwaite's degrees of freedom = {res}       .

    {txt}Ha: diff < 0                 Ha: diff != 0                 Ha: diff > 0
 Pr(T < t) = {res}     .         {txt}Pr(|T| > |t|) = {res}     .          {txt}Pr(T > t) = {res}     .
{com}. * format the matrix * 6 variables (2 lines each plus header row = 13)
. matrix q1 = (m1[2..19,1..1],m2[2..19,1..1],m3[2..19,1..1])
. matrix colnames q1 = control treat t-stat
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[18,3]
        control       treat      t-stat
 r2 {res}   2000.377   1995.2857   .66168813
{txt} r3 {res}  6.0832117   28.642165           .
{txt} r4 {res}   .1147541   .07142857   .52558727
{txt} r5 {res}  .32137002   .26726124           .
{txt} r6 {res}  .03278689   .07142857  -.51496746
{txt} r7 {res}  .17955622   .26726124           .
{txt} r8 {res}          0   .14285714  -1.4719601
{txt} r9 {res}          0   .36313652           .
{txt}r10 {res}  1.2622951   .57142857   1.9571263
{txt}r11 {res}  1.5588633   1.0894096           .
{txt}r12 {res}  12.686885   13.882857  -.14717949
{txt}r13 {res}  30.475601   26.669729           .
{txt}r14 {res}          0           0           .
{txt}r15 {res}          0           0           .
{txt}r16 {res}          1           1           .
{txt}r17 {res}          0           0           .
{txt}r18 {res}          0           0           .
{txt}r19 {res}          0           0           .
{reset}{com}. restore 
. 
. ** estimate propensity scores & graph the overlap for different stratifications: these include -- FULL, FULL NSF, NC HHS, NC HHS_NSF, KY NSF
. global observed yr_est_full WomanOwn_dum HUB_dum Minority_dum p1prior_capacity emp1_impute dod nsf hhs
. preserve
. set more off
. keep if cohort == 1
{txt}(1,899 observations deleted)
{com}. drop if p1year < 2002
{txt}(0 observations deleted)
{com}. keep if agency == "nsf" 
{txt}(436 observations deleted)
{com}. *drop if p1year == 2006
. gen d2 = 1 if p1year > 2006
{txt}(45 missing values generated)
{com}. recode d2 (.=0)
{txt}(d2: 45 changes made)
{com}. label var d2 "Post-period"
. gen dT = 1 if state=="ky"
{txt}(65 missing values generated)
{com}. recode dT (.=0)
{txt}(dT: 65 changes made)
{com}. label variable dT "Treated state"
. gen d2_dT = d2*dT
. lab var d2_dT "Policy Effect"
. global y phase2
. logit d2_dT $observed  

{txt}note: Minority_dum != 0 predicts success perfectly
      Minority_dum dropped and 2 obs not used

note: dod omitted because of collinearity
note: nsf omitted because of collinearity
note: hhs omitted because of collinearity
{res}{txt}Iteration 0:{space 3}log likelihood = {res:-34.602938}  
Iteration 1:{space 3}log likelihood = {res:-30.940767}  
Iteration 2:{space 3}log likelihood = {res:-29.475466}  
Iteration 3:{space 3}log likelihood = {res:-28.878695}  
Iteration 4:{space 3}log likelihood = {res:-28.856872}  
Iteration 5:{space 3}log likelihood = {res:-28.856739}  
Iteration 6:{space 3}log likelihood = {res:-28.856739}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}        85
{txt}{col 49}LR chi2({res}5{txt}){col 67}= {res}     11.49
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0424
{txt}Log likelihood = {res}-28.856739{txt}{col 49}Pseudo R2{col 67}= {res}    0.1661

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           d2_dT{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}yr_est_full {c |}{col 18}{res}{space 2}  -.02059{col 30}{space 2} .0216306{col 41}{space 1}   -0.95{col 50}{space 3}0.341{col 58}{space 4}-.0629853{col 71}{space 3} .0218052
{txt}{space 4}WomanOwn_dum {c |}{col 18}{res}{space 2}-.3948538{col 30}{space 2}  1.15018{col 41}{space 1}   -0.34{col 50}{space 3}0.731{col 58}{space 4}-2.649164{col 71}{space 3} 1.859457
{txt}{space 9}HUB_dum {c |}{col 18}{res}{space 2} 1.254902{col 30}{space 2} 1.436707{col 41}{space 1}    0.87{col 50}{space 3}0.382{col 58}{space 4}-1.560991{col 71}{space 3} 4.070796
{txt}{space 4}Minority_dum {c |}{col 18}{res}{space 2}        0{col 30}{txt}  (omitted)
p1prior_capacity {c |}{col 18}{res}{space 2}-.7186488{col 30}{space 2} .3731012{col 41}{space 1}   -1.93{col 50}{space 3}0.054{col 58}{space 4}-1.449914{col 71}{space 3} .0126162
{txt}{space 5}emp1_impute {c |}{col 18}{res}{space 2} .0023862{col 30}{space 2} .0127929{col 41}{space 1}    0.19{col 50}{space 3}0.852{col 58}{space 4}-.0226875{col 71}{space 3} .0274599
{txt}{space 13}dod {c |}{col 18}{res}{space 2}        0{col 30}{txt}  (omitted)
{space 13}nsf {c |}{col 18}{res}{space 2}        0{col 30}{txt}  (omitted)
{space 13}hhs {c |}{col 18}{res}{space 2}        0{col 30}{txt}  (omitted)
{space 11}_cons {c |}{col 18}{res}{space 2} 39.97462{col 30}{space 2} 43.28519{col 41}{space 1}    0.92{col 50}{space 3}0.356{col 58}{space 4} -44.8628{col 71}{space 3}  124.812
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{com}. predict ps1 if d2_dT !=.
{txt}(option {bf:pr} assumed; Pr(d2_dT))
(2 missing values generated)
{com}. twoway (histogram ps1 if d2_dT==1, start(0.0) width(0.05) fcolor(none) lcolor(gray)) (histogram ps1 if d2_dT==0, start(0.0) width(0.05) fcolor(none) lcolor(black) lpattern(dash)), legend(off) title("PS overlap") saving(Full, replace)
{res}{txt}(note: file Full.gph not found)
{res}{txt}(file Full.gph saved)
{com}. keep if p1prior_capacity < 6
{txt}(12 observations deleted)
{com}. logit d2_dT $observed  

{txt}note: Minority_dum != 0 predicts success perfectly
      Minority_dum dropped and 2 obs not used

note: dod omitted because of collinearity
note: nsf omitted because of collinearity
note: hhs omitted because of collinearity
{res}{txt}Iteration 0:{space 3}log likelihood = {res:-32.621354}  
Iteration 1:{space 3}log likelihood = {res:-29.382113}  
Iteration 2:{space 3}log likelihood = {res:-28.935763}  
Iteration 3:{space 3}log likelihood = {res:-28.835095}  
Iteration 4:{space 3}log likelihood = {res: -28.83499}  
Iteration 5:{space 3}log likelihood = {res: -28.83499}  
{res}
{txt}Logistic regression{col 49}Number of obs{col 67}= {res}        73
{txt}{col 49}LR chi2({res}5{txt}){col 67}= {res}      7.57
{txt}{col 49}Prob > chi2{col 67}= {res}    0.1814
{txt}Log likelihood = {res} -28.83499{txt}{col 49}Pseudo R2{col 67}= {res}    0.1161

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           d2_dT{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 5}yr_est_full {c |}{col 18}{res}{space 2}-.0206368{col 30}{space 2} .0216283{col 41}{space 1}   -0.95{col 50}{space 3}0.340{col 58}{space 4}-.0630275{col 71}{space 3}  .021754
{txt}{space 4}WomanOwn_dum {c |}{col 18}{res}{space 2}-.3945697{col 30}{space 2} 1.149508{col 41}{space 1}   -0.34{col 50}{space 3}0.731{col 58}{space 4}-2.647565{col 71}{space 3} 1.858425
{txt}{space 9}HUB_dum {c |}{col 18}{res}{space 2} 1.255423{col 30}{space 2} 1.433129{col 41}{space 1}    0.88{col 50}{space 3}0.381{col 58}{space 4}-1.553457{col 71}{space 3} 4.064304
{txt}{space 4}Minority_dum {c |}{col 18}{res}{space 2}        0{col 30}{txt}  (omitted)
p1prior_capacity {c |}{col 18}{res}{space 2}-.6995025{col 30}{space 2} .3866515{col 41}{space 1}   -1.81{col 50}{space 3}0.070{col 58}{space 4}-1.457325{col 71}{space 3} .0583205
{txt}{space 5}emp1_impute {c |}{col 18}{res}{space 2} .0023931{col 30}{space 2} .0127452{col 41}{space 1}    0.19{col 50}{space 3}0.851{col 58}{space 4}-.0225869{col 71}{space 3} .0273732
{txt}{space 13}dod {c |}{col 18}{res}{space 2}        0{col 30}{txt}  (omitted)
{space 13}nsf {c |}{col 18}{res}{space 2}        0{col 30}{txt}  (omitted)
{space 13}hhs {c |}{col 18}{res}{space 2}        0{col 30}{txt}  (omitted)
{space 11}_cons {c |}{col 18}{res}{space 2} 40.06233{col 30}{space 2}  43.2797{col 41}{space 1}    0.93{col 50}{space 3}0.355{col 58}{space 4}-44.76432{col 71}{space 3}  124.889
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{com}. predict ps2 if d2_dT !=.
{txt}(option {bf:pr} assumed; Pr(d2_dT))
(2 missing values generated)
{com}. twoway (histogram ps2 if d2_dT==1, start(0.0) width(0.05) fcolor(none) lcolor(gray)) (histogram ps2 if d2_dT==0, start(0.0) width(0.05) fcolor(none) lcolor(black) lpattern(dash)), legend(off) title("PS overlap") saving(5less, replace)
{res}{txt}(note: file 5less.gph not found)
{res}{txt}(file 5less.gph saved)
{com}. graph combine Full.gph 5less.gph, row(1) imargin(0 0 0 0) xcommon 
{res}{com}. graph export fig1.png, replace
{txt}(file fig1.png written in PNG format)
{com}. restore 
. 
. ** PSM: nearest neighbor; kernel; llr
. preserve
. set seed 12345
. gen sorter = uniform()
. sort sorter
. gen age2 = firm_age*firm_age
{txt}(345 missing values generated)
{com}. gen prior2 = p1prior_capacity*p1prior_capacity
. global observed firm_age age2 WomanOwn_dum HUB_dum Minority_dum p1prior_capacity prior2 emp1_impute nsf hhs
. set more off
. *keep if cohort == 0
. drop if p1year < 2002
{txt}(0 observations deleted)
{com}. keep if agency == "hhs"|agency=="nsf"
{txt}(1,503 observations deleted)
{com}. keep if p1prior_capacity < 5
{txt}(311 observations deleted)
{com}. drop if p1year == 2006
{txt}(56 observations deleted)
{com}. gen d2 = 1 if p1year > 2005
{txt}(287 missing values generated)
{com}. recode d2 (.=0)
{txt}(d2: 287 changes made)
{com}. label var d2 "Post-period"
. gen dT = 1 if state=="nc" | state == "ky"
{txt}(244 missing values generated)
{com}. recode dT (.=0)
{txt}(dT: 244 changes made)
{com}. label variable dT "Treated state"
. gen d2_dT = d2*dT
. lab var d2_dT "Policy Effect"
. global y phase2
. matrix m1=(1)
. matrix m2=(1)
. matrix m3=(1)
. psmatch2 d2_dT $observed, out($y) common neighbor(1)
{txt}note: hhs omitted because of collinearity
{res}
{txt}Probit regression{col 49}Number of obs{col 67}= {res}       432
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     40.05
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-238.94787{txt}{col 49}Pseudo R2{col 67}= {res}    0.0773

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           d2_dT{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}firm_age {c |}{col 18}{res}{space 2}-.0945079{col 30}{space 2} .0206906{col 41}{space 1}   -4.57{col 50}{space 3}0.000{col 58}{space 4}-.1350608{col 71}{space 3} -.053955
{txt}{space 12}age2 {c |}{col 18}{res}{space 2} .0007137{col 30}{space 2} .0002711{col 41}{space 1}    2.63{col 50}{space 3}0.008{col 58}{space 4} .0001824{col 71}{space 3}  .001245
{txt}{space 4}WomanOwn_dum {c |}{col 18}{res}{space 2} .0077557{col 30}{space 2}  .213972{col 41}{space 1}    0.04{col 50}{space 3}0.971{col 58}{space 4}-.4116217{col 71}{space 3}  .427133
{txt}{space 9}HUB_dum {c |}{col 18}{res}{space 2} -.638498{col 30}{space 2} .6172864{col 41}{space 1}   -1.03{col 50}{space 3}0.301{col 58}{space 4}-1.848357{col 71}{space 3} .5713612
{txt}{space 4}Minority_dum {c |}{col 18}{res}{space 2}  .233185{col 30}{space 2} .4008384{col 41}{space 1}    0.58{col 50}{space 3}0.561{col 58}{space 4}-.5524438{col 71}{space 3} 1.018814
{txt}p1prior_capacity {c |}{col 18}{res}{space 2} .3278346{col 30}{space 2} .1637747{col 41}{space 1}    2.00{col 50}{space 3}0.045{col 58}{space 4}  .006842{col 71}{space 3} .6488272
{txt}{space 10}prior2 {c |}{col 18}{res}{space 2} -.071951{col 30}{space 2} .0440947{col 41}{space 1}   -1.63{col 50}{space 3}0.103{col 58}{space 4} -.158375{col 71}{space 3} .0144729
{txt}{space 5}emp1_impute {c |}{col 18}{res}{space 2} .0001066{col 30}{space 2} .0033451{col 41}{space 1}    0.03{col 50}{space 3}0.975{col 58}{space 4}-.0064498{col 71}{space 3} .0066629
{txt}{space 13}nsf {c |}{col 18}{res}{space 2} .1987168{col 30}{space 2} .1484179{col 41}{space 1}    1.34{col 50}{space 3}0.181{col 58}{space 4} -.092177{col 71}{space 3} .4896105
{txt}{space 13}hhs {c |}{col 18}{res}{space 2}        0{col 30}{txt}  (omitted)
{space 11}_cons {c |}{col 18}{res}{space 2} .2930238{col 30}{space 2} .2172209{col 41}{space 1}    1.35{col 50}{space 3}0.177{col 58}{space 4}-.1327214{col 71}{space 3}  .718769
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}There are observations with identical propensity score values.
The sort order of the data could affect your results.
Make sure that the sort order is random before calling psmatch2.
{txt}{hline 28}{c TT}{hline 59}
        Variable     Sample {c |}    Treated     Controls   Difference         S.E.   T-stat
{hline 28}{c +}{hline 59}
          phase2  Unmatched {c |}{res} .475806452   .431818182    .04398827   .052928219     0.83
{txt}{col 17}        ATT {c |}{res} .478991597   .521008403  -.042016807   .089925361    -0.47
{txt}{hline 28}{c +}{hline 59}
Note: S.E. does not take into account that the propensity score is estimated.

 psmatch2: {c |}   psmatch2: Common
 Treatment {c |}        support
assignment {c |} Off suppo  On suppor {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
 Untreated {c |}{res}         0        308 {txt}{c |}{res}       308 
{txt}   Treated {c |}{res}         5        119 {txt}{c |}{res}       124 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}         5        427 {txt}{c |}{res}       432 

{com}. matrix m1 = m1\(r(att)\r(seatt)\(r(att)/r(seatt))) 
. psmatch2 d2_dT $observed, out($y) common kernel bwidth(.2) kerneltype(normal)
{txt}note: hhs omitted because of collinearity
{res}
{txt}Probit regression{col 49}Number of obs{col 67}= {res}       432
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     40.05
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-238.94787{txt}{col 49}Pseudo R2{col 67}= {res}    0.0773

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           d2_dT{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}firm_age {c |}{col 18}{res}{space 2}-.0945079{col 30}{space 2} .0206906{col 41}{space 1}   -4.57{col 50}{space 3}0.000{col 58}{space 4}-.1350608{col 71}{space 3} -.053955
{txt}{space 12}age2 {c |}{col 18}{res}{space 2} .0007137{col 30}{space 2} .0002711{col 41}{space 1}    2.63{col 50}{space 3}0.008{col 58}{space 4} .0001824{col 71}{space 3}  .001245
{txt}{space 4}WomanOwn_dum {c |}{col 18}{res}{space 2} .0077557{col 30}{space 2}  .213972{col 41}{space 1}    0.04{col 50}{space 3}0.971{col 58}{space 4}-.4116217{col 71}{space 3}  .427133
{txt}{space 9}HUB_dum {c |}{col 18}{res}{space 2} -.638498{col 30}{space 2} .6172864{col 41}{space 1}   -1.03{col 50}{space 3}0.301{col 58}{space 4}-1.848357{col 71}{space 3} .5713612
{txt}{space 4}Minority_dum {c |}{col 18}{res}{space 2}  .233185{col 30}{space 2} .4008384{col 41}{space 1}    0.58{col 50}{space 3}0.561{col 58}{space 4}-.5524438{col 71}{space 3} 1.018814
{txt}p1prior_capacity {c |}{col 18}{res}{space 2} .3278346{col 30}{space 2} .1637747{col 41}{space 1}    2.00{col 50}{space 3}0.045{col 58}{space 4}  .006842{col 71}{space 3} .6488272
{txt}{space 10}prior2 {c |}{col 18}{res}{space 2} -.071951{col 30}{space 2} .0440947{col 41}{space 1}   -1.63{col 50}{space 3}0.103{col 58}{space 4} -.158375{col 71}{space 3} .0144729
{txt}{space 5}emp1_impute {c |}{col 18}{res}{space 2} .0001066{col 30}{space 2} .0033451{col 41}{space 1}    0.03{col 50}{space 3}0.975{col 58}{space 4}-.0064498{col 71}{space 3} .0066629
{txt}{space 13}nsf {c |}{col 18}{res}{space 2} .1987168{col 30}{space 2} .1484179{col 41}{space 1}    1.34{col 50}{space 3}0.181{col 58}{space 4} -.092177{col 71}{space 3} .4896105
{txt}{space 13}hhs {c |}{col 18}{res}{space 2}        0{col 30}{txt}  (omitted)
{space 11}_cons {c |}{col 18}{res}{space 2} .2930238{col 30}{space 2} .2172209{col 41}{space 1}    1.35{col 50}{space 3}0.177{col 58}{space 4}-.1327214{col 71}{space 3}  .718769
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{hline 28}{c TT}{hline 59}
        Variable     Sample {c |}    Treated     Controls   Difference         S.E.   T-stat
{hline 28}{c +}{hline 59}
          phase2  Unmatched {c |}{res} .475806452   .431818182    .04398827   .052928219     0.83
{txt}{col 17}        ATT {c |}{res} .478991597   .423542508   .055449089   .054350682     1.02
{txt}{hline 28}{c +}{hline 59}
Note: S.E. does not take into account that the propensity score is estimated.

 psmatch2: {c |}   psmatch2: Common
 Treatment {c |}        support
assignment {c |} Off suppo  On suppor {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
 Untreated {c |}{res}         0        308 {txt}{c |}{res}       308 
{txt}   Treated {c |}{res}         5        119 {txt}{c |}{res}       124 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}         5        427 {txt}{c |}{res}       432 

{com}. matrix m2 = m2\(r(att)\r(seatt)\(r(att)/r(seatt))) 
. psmatch2 d2_dT $observed, out($y) common llr bwidth(.2) kerneltype(normal)
{txt}note: hhs omitted because of collinearity
{res}
{txt}Probit regression{col 49}Number of obs{col 67}= {res}       432
{txt}{col 49}LR chi2({res}9{txt}){col 67}= {res}     40.05
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log likelihood = {res}-238.94787{txt}{col 49}Pseudo R2{col 67}= {res}    0.0773

{txt}{hline 17}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}           d2_dT{col 18}{c |}      Coef.{col 30}   Std. Err.{col 42}      z{col 50}   P>|z|{col 58}     [95% Con{col 71}f. Interval]
{hline 17}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 8}firm_age {c |}{col 18}{res}{space 2}-.0945079{col 30}{space 2} .0206906{col 41}{space 1}   -4.57{col 50}{space 3}0.000{col 58}{space 4}-.1350608{col 71}{space 3} -.053955
{txt}{space 12}age2 {c |}{col 18}{res}{space 2} .0007137{col 30}{space 2} .0002711{col 41}{space 1}    2.63{col 50}{space 3}0.008{col 58}{space 4} .0001824{col 71}{space 3}  .001245
{txt}{space 4}WomanOwn_dum {c |}{col 18}{res}{space 2} .0077557{col 30}{space 2}  .213972{col 41}{space 1}    0.04{col 50}{space 3}0.971{col 58}{space 4}-.4116217{col 71}{space 3}  .427133
{txt}{space 9}HUB_dum {c |}{col 18}{res}{space 2} -.638498{col 30}{space 2} .6172864{col 41}{space 1}   -1.03{col 50}{space 3}0.301{col 58}{space 4}-1.848357{col 71}{space 3} .5713612
{txt}{space 4}Minority_dum {c |}{col 18}{res}{space 2}  .233185{col 30}{space 2} .4008384{col 41}{space 1}    0.58{col 50}{space 3}0.561{col 58}{space 4}-.5524438{col 71}{space 3} 1.018814
{txt}p1prior_capacity {c |}{col 18}{res}{space 2} .3278346{col 30}{space 2} .1637747{col 41}{space 1}    2.00{col 50}{space 3}0.045{col 58}{space 4}  .006842{col 71}{space 3} .6488272
{txt}{space 10}prior2 {c |}{col 18}{res}{space 2} -.071951{col 30}{space 2} .0440947{col 41}{space 1}   -1.63{col 50}{space 3}0.103{col 58}{space 4} -.158375{col 71}{space 3} .0144729
{txt}{space 5}emp1_impute {c |}{col 18}{res}{space 2} .0001066{col 30}{space 2} .0033451{col 41}{space 1}    0.03{col 50}{space 3}0.975{col 58}{space 4}-.0064498{col 71}{space 3} .0066629
{txt}{space 13}nsf {c |}{col 18}{res}{space 2} .1987168{col 30}{space 2} .1484179{col 41}{space 1}    1.34{col 50}{space 3}0.181{col 58}{space 4} -.092177{col 71}{space 3} .4896105
{txt}{space 13}hhs {c |}{col 18}{res}{space 2}        0{col 30}{txt}  (omitted)
{space 11}_cons {c |}{col 18}{res}{space 2} .2930238{col 30}{space 2} .2172209{col 41}{space 1}    1.35{col 50}{space 3}0.177{col 58}{space 4}-.1327214{col 71}{space 3}  .718769
{txt}{hline 17}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{hline 28}{c TT}{hline 59}
        Variable     Sample {c |}    Treated     Controls   Difference         S.E.   T-stat
{hline 28}{c +}{hline 59}
          phase2  Unmatched {c |}{res} .475806452   .431818182    .04398827   .052928219     0.83
{txt}{col 17}        ATT {c |}{res} .478991597   .413455431   .065536166   .057053164     1.15
{txt}{hline 28}{c +}{hline 59}
Note: S.E. does not take into account that the propensity score is estimated.

 psmatch2: {c |}   psmatch2: Common
 Treatment {c |}        support
assignment {c |} Off suppo  On suppor {c |}     Total
{hline 11}{c +}{hline 22}{c +}{hline 10}
 Untreated {c |}{res}         0        308 {txt}{c |}{res}       308 
{txt}   Treated {c |}{res}         5        119 {txt}{c |}{res}       124 
{txt}{hline 11}{c +}{hline 22}{c +}{hline 10}
     Total {c |}{res}         5        427 {txt}{c |}{res}       432 

{com}. matrix m3 = m3\(r(att)\r(seatt)\(r(att)/r(seatt))) 
. *return list
. matrix q1 = (m1[2..4,1..1],m2[2..4,1..1],m3[2..4,1..1])
. matrix colnames q1 = Nearest Kernel LLR
. matrix rownames q1 = ATT SE Tstat
. matrix drop m1 m2 m3
. mat list q1
{res}
{txt}q1[3,3]
          Nearest      Kernel         LLR
  ATT {res} -.04201681   .05544909   .06553617
{txt}   SE {res}  .08992536   .05435068   .05705316
{txt}Tstat {res}  -.4672409   1.0202096   1.1486859
{reset}{com}. restore 
. {c )-}       
{txt}
{com}. 
.         ***********************
.         ** Objective: Difference-in-Differences Linear Time Trend 
.         ** Manuscript: Not reported, conducted as additional checks 
.         ** Results: Not reported
.         ***********************
. {c -(}
. ********************************************************************************
. *** DD LINEAR TIME TRENDS *** Additional ROBUSTNESS CHECK ** 
. ********************************************************************************
. preserve
. drop if p1year == 2006
{txt}(245 observations deleted)
{com}. gen d2 = 1 if p1year > 2006
{txt}(1,030 missing values generated)
{com}. recode d2 (.=0)
{txt}(d2: 1030 changes made)
{com}. label var d2 "Post-period"
. gen dT = 1 if state=="nc"|state=="ky"
{txt}(1,488 missing values generated)
{com}. recode dT (.=0)
{txt}(dT: 1488 changes made)
{com}. label variable dT "Treated state"
. gen d2_dT = d2*dT
. lab var d2_dT "Policy Effect"
. drop if p1year < 2002
{txt}(0 observations deleted)
{com}. tab p1year, gen(T)

  {txt}Year firm {c |}
    secured {c |}
 SBIR Phase {c |}
    I award {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
       2002 {c |}{res}        249       11.44       11.44
{txt}       2003 {c |}{res}        284       13.05       24.48
{txt}       2004 {c |}{res}        272       12.49       36.98
{txt}       2005 {c |}{res}        225       10.34       47.31
{txt}       2007 {c |}{res}        268       12.31       59.62
{txt}       2008 {c |}{res}        267       12.26       71.89
{txt}       2009 {c |}{res}        313       14.38       86.27
{txt}       2010 {c |}{res}        299       13.73      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      2,177      100.00
{com}. forvalues i = 1/8 {c -(}
{txt}  2{com}. gen T`i'dT = T`i'*dT
{txt}  3{com}. {c )-}
. gen time = 1 if p1year == 2002
{txt}(1,928 missing values generated)
{com}. replace time = 2 if p1year == 2003
{txt}(284 real changes made)
{com}. replace time = 3 if p1year == 2004
{txt}(272 real changes made)
{com}. replace time = 4 if p1year == 2005
{txt}(225 real changes made)
{com}. replace time = 5 if p1year == 2007
{txt}(268 real changes made)
{com}. replace time = 6 if p1year == 2008
{txt}(267 real changes made)
{com}. replace time = 7 if p1year == 2009
{txt}(313 real changes made)
{com}. replace time = 8 if p1year == 2010
{txt}(299 real changes made)
{com}. gen timetreat = time*dT
. label var timetreat "Linear Time Trend"
. *global ddcontrol WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year
. global ddcontrol1 dT p1year timetreat T5 T5dT WomanOwn_dum HUB_dum Minority_dum p1cbsa_capacity_annual yr_est_full Emp_p1year 
. global y phase2
. * Analysis for significant results
. reg $y d2 dT d2_dT $ddcontrol if agency == "nsf", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       192
                                                {txt}{help j_robustsingular:F(5, 124) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.0522
                                                {txt}Root MSE          =    {res} .48145

{txt}{ralign 78:(Std. Err. adjusted for {res:125} clusters in firm_id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}      phase2{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 10}d2 {c |}{col 14}{res}{space 2}-.2236402{col 26}{space 2} .0763897{col 37}{space 1}   -2.93{col 46}{space 3}0.004{col 54}{space 4}-.3748368{col 67}{space 3}-.0724436
{txt}{space 10}dT {c |}{col 14}{res}{space 2}-.0555955{col 26}{space 2} .1035431{col 37}{space 1}   -0.54{col 46}{space 3}0.592{col 54}{space 4}-.2605364{col 67}{space 3} .1493454
{txt}{space 7}d2_dT {c |}{col 14}{res}{space 2} .2236599{col 26}{space 2} .1341156{col 37}{space 1}    1.67{col 46}{space 3}0.098{col 54}{space 4}-.0417925{col 67}{space 3} .4891123
{txt}WomanOwn_dum {c |}{col 14}{res}{space 2}-.0831385{col 26}{space 2} .1010857{col 37}{space 1}   -0.82{col 46}{space 3}0.412{col 54}{space 4}-.2832155{col 67}{space 3} .1169385
{txt}{space 5}HUB_dum {c |}{col 14}{res}{space 2} .0842178{col 26}{space 2} .2243923{col 37}{space 1}    0.38{col 46}{space 3}0.708{col 54}{space 4}-.3599175{col 67}{space 3} .5283531
{txt}Minority_dum {c |}{col 14}{res}{space 2} .5833752{col 26}{space 2} .0666549{col 37}{space 1}    8.75{col 46}{space 3}0.000{col 54}{space 4} .4514464{col 67}{space 3}  .715304
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .4722006{col 26}{space 2} .0557844{col 37}{space 1}    8.46{col 46}{space 3}0.000{col 54}{space 4} .3617875{col 67}{space 3} .5826136
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output LTT.xls", se see label bdec(3) rdec(3) replace addtext(Sample, NSF*) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output LTT.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output LTT.txt", label"':seeout}
{com}. reg $y $ddcontrol1 if agency == "nsf", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       162
                                                {txt}F(11, 98)         =  {res}    35.56
                                                {txt}Prob > F          = {res}    0.0000
                                                {txt}R-squared         = {res}    0.1168
                                                {txt}Root MSE          =    {res} .47611

{txt}{ralign 88:(Std. Err. adjusted for {res:99} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}dT {c |}{col 24}{res}{space 2} -.175872{col 36}{space 2} .1883473{col 47}{space 1}   -0.93{col 56}{space 3}0.353{col 64}{space 4}-.5496411{col 77}{space 3} .1978971
{txt}{space 16}p1year {c |}{col 24}{res}{space 2}-.0480798{col 36}{space 2} .0128891{col 47}{space 1}   -3.73{col 56}{space 3}0.000{col 64}{space 4}-.0736578{col 77}{space 3}-.0225019
{txt}{space 13}timetreat {c |}{col 24}{res}{space 2} .0413182{col 36}{space 2} .0323582{col 47}{space 1}    1.28{col 56}{space 3}0.205{col 64}{space 4}-.0228956{col 77}{space 3} .1055319
{txt}{space 20}T5 {c |}{col 24}{res}{space 2}-.2363351{col 36}{space 2}  .109282{col 47}{space 1}   -2.16{col 56}{space 3}0.033{col 64}{space 4}-.4532017{col 77}{space 3}-.0194684
{txt}{space 18}T5dT {c |}{col 24}{res}{space 2} .1586029{col 36}{space 2} .1973325{col 47}{space 1}    0.80{col 56}{space 3}0.423{col 64}{space 4} -.232997{col 77}{space 3} .5502027
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .0412153{col 36}{space 2} .1339089{col 47}{space 1}    0.31{col 56}{space 3}0.759{col 64}{space 4}-.2245225{col 77}{space 3} .3069531
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .0607378{col 36}{space 2} .2597658{col 47}{space 1}    0.23{col 56}{space 3}0.816{col 64}{space 4}-.4547588{col 77}{space 3} .5762345
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .6370198{col 36}{space 2}  .094333{col 47}{space 1}    6.75{col 56}{space 3}0.000{col 64}{space 4}  .449819{col 77}{space 3} .8242205
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0052906{col 36}{space 2}  .002987{col 47}{space 1}    1.77{col 56}{space 3}0.080{col 64}{space 4} -.000637{col 77}{space 3} .0112183
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2} .0084892{col 36}{space 2} .0068101{col 47}{space 1}    1.25{col 56}{space 3}0.216{col 64}{space 4}-.0050252{col 77}{space 3} .0220035
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0003625{col 36}{space 2} .0017403{col 47}{space 1}   -0.21{col 56}{space 3}0.835{col 64}{space 4}-.0038161{col 77}{space 3} .0030911
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 79.80132{col 36}{space 2}  28.5936{col 47}{space 1}    2.79{col 56}{space 3}0.006{col 64}{space 4} 23.05825{col 77}{space 3} 136.5444
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. outreg2 $y $ddcontrol1 using "$dir/Results/DD output LTT.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF*) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output LTT.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output LTT.txt", label"':seeout}
{com}. drop if p1prior_capacity > 5
{txt}(887 observations deleted)
{com}. reg $y d2 dT d2_dT $ddcontrol if agency == "hhs", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       420
                                                {txt}F(6, 230)         =  {res}     2.93
                                                {txt}Prob > F          = {res}    0.0089
                                                {txt}R-squared         = {res}    0.0340
                                                {txt}Root MSE          =    {res} .49284

{txt}{ralign 78:(Std. Err. adjusted for {res:231} clusters in firm_id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}      phase2{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 10}d2 {c |}{col 14}{res}{space 2}-.2423431{col 26}{space 2} .0691532{col 37}{space 1}   -3.50{col 46}{space 3}0.001{col 54}{space 4}-.3785978{col 67}{space 3}-.1060883
{txt}{space 10}dT {c |}{col 14}{res}{space 2}-.0245507{col 26}{space 2}  .065756{col 37}{space 1}   -0.37{col 46}{space 3}0.709{col 54}{space 4} -.154112{col 67}{space 3} .1050105
{txt}{space 7}d2_dT {c |}{col 14}{res}{space 2} .2065782{col 26}{space 2} .0922539{col 37}{space 1}    2.24{col 46}{space 3}0.026{col 54}{space 4} .0248075{col 67}{space 3} .3883489
{txt}WomanOwn_dum {c |}{col 14}{res}{space 2} .0124593{col 26}{space 2} .0736859{col 37}{space 1}    0.17{col 46}{space 3}0.866{col 54}{space 4}-.1327264{col 67}{space 3} .1576449
{txt}{space 5}HUB_dum {c |}{col 14}{res}{space 2} .1438011{col 26}{space 2} .1246033{col 37}{space 1}    1.15{col 46}{space 3}0.250{col 54}{space 4}-.1017087{col 67}{space 3} .3893109
{txt}Minority_dum {c |}{col 14}{res}{space 2} .0933737{col 26}{space 2} .1252948{col 37}{space 1}    0.75{col 46}{space 3}0.457{col 54}{space 4}-.1534987{col 67}{space 3}  .340246
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .5142388{col 26}{space 2} .0495132{col 37}{space 1}   10.39{col 46}{space 3}0.000{col 54}{space 4} .4166813{col 67}{space 3} .6117963
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output LTT.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output LTT.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output LTT.txt", label"':seeout}
{com}. reg $y $ddcontrol1 if agency == "hhs", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       315
                                                {txt}F(11, 173)        =  {res}     2.22
                                                {txt}Prob > F          = {res}    0.0156
                                                {txt}R-squared         = {res}    0.0612
                                                {txt}Root MSE          =    {res} .49156

{txt}{ralign 88:(Std. Err. adjusted for {res:174} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}dT {c |}{col 24}{res}{space 2}-.2270308{col 36}{space 2} .1220254{col 47}{space 1}   -1.86{col 56}{space 3}0.065{col 64}{space 4} -.467881{col 77}{space 3} .0138193
{txt}{space 16}p1year {c |}{col 24}{res}{space 2}-.0534897{col 36}{space 2} .0139022{col 47}{space 1}   -3.85{col 56}{space 3}0.000{col 64}{space 4}-.0809296{col 77}{space 3}-.0260499
{txt}{space 13}timetreat {c |}{col 24}{res}{space 2} .0597243{col 36}{space 2} .0236439{col 47}{space 1}    2.53{col 56}{space 3}0.012{col 64}{space 4} .0130566{col 77}{space 3}  .106392
{txt}{space 20}T5 {c |}{col 24}{res}{space 2} .1086772{col 36}{space 2} .1522376{col 47}{space 1}    0.71{col 56}{space 3}0.476{col 64}{space 4}-.1918051{col 77}{space 3} .4091594
{txt}{space 18}T5dT {c |}{col 24}{res}{space 2}-.0984256{col 36}{space 2} .2030601{col 47}{space 1}   -0.48{col 56}{space 3}0.628{col 64}{space 4}-.4992198{col 77}{space 3} .3023687
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2} .0115429{col 36}{space 2} .0834217{col 47}{space 1}    0.14{col 56}{space 3}0.890{col 64}{space 4}-.1531125{col 77}{space 3} .1761982
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .1183631{col 36}{space 2} .1305594{col 47}{space 1}    0.91{col 56}{space 3}0.366{col 64}{space 4}-.1393313{col 77}{space 3} .3760576
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .1442985{col 36}{space 2}  .101713{col 47}{space 1}    1.42{col 56}{space 3}0.158{col 64}{space 4}-.0564597{col 77}{space 3} .3450566
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0016429{col 36}{space 2} .0025159{col 47}{space 1}    0.65{col 56}{space 3}0.515{col 64}{space 4} -.003323{col 77}{space 3} .0066087
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}-.0022465{col 36}{space 2} .0035152{col 47}{space 1}   -0.64{col 56}{space 3}0.524{col 64}{space 4}-.0091847{col 77}{space 3} .0046917
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0006721{col 36}{space 2} .0006076{col 47}{space 1}   -1.11{col 56}{space 3}0.270{col 64}{space 4}-.0018713{col 77}{space 3} .0005271
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 112.1789{col 36}{space 2} 26.82285{col 47}{space 1}    4.18{col 56}{space 3}0.000{col 64}{space 4} 59.23672{col 77}{space 3} 165.1211
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. outreg2 $y $ddcontrol1 using "$dir/Results/DD output LTT.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 5 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output LTT.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output LTT.txt", label"':seeout}
{com}. drop if p1prior_capacity > 3
{txt}(172 observations deleted)
{com}. reg $y d2 dT d2_dT $ddcontrol if agency == "hhs", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       369
                                                {txt}F(6, 223)         =  {res}     2.69
                                                {txt}Prob > F          = {res}    0.0155
                                                {txt}R-squared         = {res}    0.0318
                                                {txt}Root MSE          =    {res} .49518

{txt}{ralign 78:(Std. Err. adjusted for {res:224} clusters in firm_id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}      phase2{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 10}d2 {c |}{col 14}{res}{space 2}-.2385293{col 26}{space 2} .0769369{col 37}{space 1}   -3.10{col 46}{space 3}0.002{col 54}{space 4}-.3901456{col 67}{space 3} -.086913
{txt}{space 10}dT {c |}{col 14}{res}{space 2}-.0249158{col 26}{space 2} .0740409{col 37}{space 1}   -0.34{col 46}{space 3}0.737{col 54}{space 4}-.1708252{col 67}{space 3} .1209936
{txt}{space 7}d2_dT {c |}{col 14}{res}{space 2} .2061997{col 26}{space 2} .1029114{col 37}{space 1}    2.00{col 46}{space 3}0.046{col 54}{space 4} .0033964{col 67}{space 3}  .409003
{txt}WomanOwn_dum {c |}{col 14}{res}{space 2}-.0196002{col 26}{space 2} .0875389{col 37}{space 1}   -0.22{col 46}{space 3}0.823{col 54}{space 4}-.1921095{col 67}{space 3} .1529091
{txt}{space 5}HUB_dum {c |}{col 14}{res}{space 2} .1385808{col 26}{space 2} .1219748{col 37}{space 1}    1.14{col 46}{space 3}0.257{col 54}{space 4}-.1017899{col 67}{space 3} .3789515
{txt}Minority_dum {c |}{col 14}{res}{space 2} .1139209{col 26}{space 2} .1169234{col 37}{space 1}    0.97{col 46}{space 3}0.331{col 54}{space 4}-.1164953{col 67}{space 3} .3443372
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .5244942{col 26}{space 2} .0583907{col 37}{space 1}    8.98{col 46}{space 3}0.000{col 54}{space 4} .4094259{col 67}{space 3} .6395624
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output LTT.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 3 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output LTT.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output LTT.txt", label"':seeout}
{com}. reg $y $ddcontrol1 if agency == "hhs", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       267
                                                {txt}F(11, 164)        =  {res}     1.91
                                                {txt}Prob > F          = {res}    0.0410
                                                {txt}R-squared         = {res}    0.0628
                                                {txt}Root MSE          =    {res} .49429

{txt}{ralign 88:(Std. Err. adjusted for {res:165} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}dT {c |}{col 24}{res}{space 2}-.2602203{col 36}{space 2} .1349956{col 47}{space 1}   -1.93{col 56}{space 3}0.056{col 64}{space 4}-.5267737{col 77}{space 3} .0063331
{txt}{space 16}p1year {c |}{col 24}{res}{space 2}-.0566016{col 36}{space 2} .0160753{col 47}{space 1}   -3.52{col 56}{space 3}0.001{col 64}{space 4}-.0883427{col 77}{space 3}-.0248604
{txt}{space 13}timetreat {c |}{col 24}{res}{space 2}  .064211{col 36}{space 2}  .025493{col 47}{space 1}    2.52{col 56}{space 3}0.013{col 64}{space 4} .0138742{col 77}{space 3} .1145479
{txt}{space 20}T5 {c |}{col 24}{res}{space 2} .0570495{col 36}{space 2} .1960845{col 47}{space 1}    0.29{col 56}{space 3}0.771{col 64}{space 4} -.330126{col 77}{space 3} .4442251
{txt}{space 18}T5dT {c |}{col 24}{res}{space 2}-.0632682{col 36}{space 2} .2423801{col 47}{space 1}   -0.26{col 56}{space 3}0.794{col 64}{space 4}-.5418561{col 77}{space 3} .4153196
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.0247849{col 36}{space 2} .1031757{col 47}{space 1}   -0.24{col 56}{space 3}0.810{col 64}{space 4}-.2285088{col 77}{space 3}  .178939
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2} .0938113{col 36}{space 2} .1315292{col 47}{space 1}    0.71{col 56}{space 3}0.477{col 64}{space 4}-.1658977{col 77}{space 3} .3535204
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2} .1702892{col 36}{space 2} .1066536{col 47}{space 1}    1.60{col 56}{space 3}0.112{col 64}{space 4} -.040302{col 77}{space 3} .3808805
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0014321{col 36}{space 2} .0027324{col 47}{space 1}    0.52{col 56}{space 3}0.601{col 64}{space 4}-.0039631{col 77}{space 3} .0068272
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2} -.001952{col 36}{space 2}  .003596{col 47}{space 1}   -0.54{col 56}{space 3}0.588{col 64}{space 4}-.0090525{col 77}{space 3} .0051485
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2}-.0006399{col 36}{space 2}  .000547{col 47}{space 1}   -1.17{col 56}{space 3}0.244{col 64}{space 4}-.0017201{col 77}{space 3} .0004402
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 117.8653{col 36}{space 2} 30.74512{col 47}{space 1}    3.83{col 56}{space 3}0.000{col 64}{space 4} 57.15803{col 77}{space 3} 178.5727
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. outreg2 $y $ddcontrol1 using "$dir/Results/DD output LTT.xls", se see label bdec(3) rdec(3) append addtext(Sample, HHS 3 Prior) 
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output LTT.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output LTT.txt", label"':seeout}
{com}. drop if p1prior_capacity > 1
{txt}(271 observations deleted)
{com}. reg $y d2 dT d2_dT $ddcontrol if agency == "nsf", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}       112
                                                {txt}{help j_robustsingular:F(5, 96) }         =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.0797
                                                {txt}Root MSE          =    {res} .48185

{txt}{ralign 78:(Std. Err. adjusted for {res:97} clusters in firm_id)}
{hline 13}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 14}{c |}{col 26}    Robust
{col 1}      phase2{col 14}{c |}      Coef.{col 26}   Std. Err.{col 38}      t{col 46}   P>|t|{col 54}     [95% Con{col 67}f. Interval]
{hline 13}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 10}d2 {c |}{col 14}{res}{space 2} -.282065{col 26}{space 2} .1330991{col 37}{space 1}   -2.12{col 46}{space 3}0.037{col 54}{space 4}-.5462646{col 67}{space 3}-.0178655
{txt}{space 10}dT {c |}{col 14}{res}{space 2}-.0716149{col 26}{space 2} .1203952{col 37}{space 1}   -0.59{col 46}{space 3}0.553{col 54}{space 4}-.3105975{col 67}{space 3} .1673676
{txt}{space 7}d2_dT {c |}{col 14}{res}{space 2} .3168202{col 26}{space 2} .1825469{col 37}{space 1}    1.74{col 46}{space 3}0.086{col 54}{space 4}-.0455325{col 67}{space 3}  .679173
{txt}WomanOwn_dum {c |}{col 14}{res}{space 2}-.2824046{col 26}{space 2} .1321559{col 37}{space 1}   -2.14{col 46}{space 3}0.035{col 54}{space 4} -.544732{col 67}{space 3}-.0200772
{txt}{space 5}HUB_dum {c |}{col 14}{res}{space 2}-.0788151{col 26}{space 2} .2038411{col 37}{space 1}   -0.39{col 46}{space 3}0.700{col 54}{space 4}-.4834366{col 67}{space 3} .3258063
{txt}Minority_dum {c |}{col 14}{res}{space 2} .5398934{col 26}{space 2} .0836812{col 37}{space 1}    6.45{col 46}{space 3}0.000{col 54}{space 4} .3737875{col 67}{space 3} .7059993
{txt}{space 7}_cons {c |}{col 14}{res}{space 2} .4969663{col 26}{space 2} .0856302{col 37}{space 1}    5.80{col 46}{space 3}0.000{col 54}{space 4} .3269917{col 67}{space 3} .6669409
{txt}{hline 13}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. outreg2 $y d2 dT d2_dT $ddcontrol using "$dir/Results/DD output LTT.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF 1 Prior)
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output LTT.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output LTT.txt", label"':seeout}
{com}. reg $y $ddcontrol1 if agency == "nsf", cluster(firm_id) 

{txt}Linear regression                               Number of obs     = {res}        88
                                                {txt}{help j_robustsingular:F(10, 73) }        =  {res}        .
                                                {txt}Prob > F          = {res}         .
                                                {txt}R-squared         = {res}    0.1642
                                                {txt}Root MSE          =    {res} .48368

{txt}{ralign 88:(Std. Err. adjusted for {res:74} clusters in firm_id)}
{hline 23}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 24}{c |}{col 36}    Robust
{col 1}                phase2{col 24}{c |}      Coef.{col 36}   Std. Err.{col 48}      t{col 56}   P>|t|{col 64}     [95% Con{col 77}f. Interval]
{hline 23}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 20}dT {c |}{col 24}{res}{space 2}-.3515013{col 36}{space 2} .2592898{col 47}{space 1}   -1.36{col 56}{space 3}0.179{col 64}{space 4}-.8682653{col 77}{space 3} .1652626
{txt}{space 16}p1year {c |}{col 24}{res}{space 2} -.077894{col 36}{space 2} .0238152{col 47}{space 1}   -3.27{col 56}{space 3}0.002{col 64}{space 4}-.1253576{col 77}{space 3}-.0304304
{txt}{space 13}timetreat {c |}{col 24}{res}{space 2} .0799096{col 36}{space 2} .0462182{col 47}{space 1}    1.73{col 56}{space 3}0.088{col 64}{space 4}-.0122031{col 77}{space 3} .1720223
{txt}{space 20}T5 {c |}{col 24}{res}{space 2}-.3308997{col 36}{space 2} .1004297{col 47}{space 1}   -3.29{col 56}{space 3}0.002{col 64}{space 4}-.5310558{col 77}{space 3}-.1307436
{txt}{space 18}T5dT {c |}{col 24}{res}{space 2} .4410616{col 36}{space 2} .2309526{col 47}{space 1}    1.91{col 56}{space 3}0.060{col 64}{space 4}-.0192262{col 77}{space 3} .9013494
{txt}{space 10}WomanOwn_dum {c |}{col 24}{res}{space 2}-.1863221{col 36}{space 2} .2028442{col 47}{space 1}   -0.92{col 56}{space 3}0.361{col 64}{space 4}  -.59059{col 77}{space 3} .2179459
{txt}{space 15}HUB_dum {c |}{col 24}{res}{space 2}-.1093275{col 36}{space 2} .2199946{col 47}{space 1}   -0.50{col 56}{space 3}0.621{col 64}{space 4} -.547776{col 77}{space 3}  .329121
{txt}{space 10}Minority_dum {c |}{col 24}{res}{space 2}  .764865{col 36}{space 2} .1726926{col 47}{space 1}    4.43{col 56}{space 3}0.000{col 64}{space 4} .4206891{col 77}{space 3} 1.109041
{txt}p1cbsa_capacity_annual {c |}{col 24}{res}{space 2} .0073452{col 36}{space 2} .0038004{col 47}{space 1}    1.93{col 56}{space 3}0.057{col 64}{space 4} -.000229{col 77}{space 3} .0149194
{txt}{space 11}yr_est_full {c |}{col 24}{res}{space 2}  .021184{col 36}{space 2} .0146253{col 47}{space 1}    1.45{col 56}{space 3}0.152{col 64}{space 4}-.0079641{col 77}{space 3} .0503321
{txt}{space 12}Emp_p1year {c |}{col 24}{res}{space 2} .0015387{col 36}{space 2} .0040303{col 47}{space 1}    0.38{col 56}{space 3}0.704{col 64}{space 4}-.0064937{col 77}{space 3}  .009571
{txt}{space 17}_cons {c |}{col 24}{res}{space 2} 114.1213{col 36}{space 2} 42.99586{col 47}{space 1}    2.65{col 56}{space 3}0.010{col 64}{space 4} 28.43067{col 77}{space 3} 199.8119
{txt}{hline 23}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{com}. outreg2 $y $ddcontrol1 using "$dir/Results/DD output LTT.xls", se see label bdec(3) rdec(3) append addtext(Sample, NSF 1 Prior)
{res}Hit Enter to continue{com}. 
{txt}{browse `"/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output LTT.xls"'}
{browse `"/Users/llanahan/Dropbox/sbirsttr_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse"' :dir}{com} : {txt}{stata `"seeout using "/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Results/DD output LTT.txt", label"':seeout}
{com}. restore
. {c )-}
{txt}
{com}. 
. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/llanahan/Dropbox/SBIRSTTR_data_analysis/firm level analysis/NC* & KY* appended data/Dataverse/output.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}17 Mar 2017, 16:09:27
{txt}{.-}
{smcl}
{txt}{sf}{ul off}